mk-pmb

mk-pmb/p-tape

Alias module for "tape-promise/tape", to make it easier to use with my favorite eslint rules. Also depends on tape so you don't have to.

JavaScript
0
0
No license
Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of mk-pmb/p-tape

Account's avatar
tap-producing test harness for node and browsers
Account's avatar
Promise/async support for tape.

Support the repos that depend on mk-pmb/p-tape

Account's avatar
Yet another arguments parser. Similar to minimist but --optname yields { optname: true } rather than eating the next argument.
Account's avatar
Validate and normalize a Digital Object Identifier (DOI).
Account's avatar
Convert any string-producing function to a renderer for JS tagged strings.
Account's avatar
Assign number-counting string placeholders for values, remembering the ones already seen.
Account's avatar
In your template string, replace all slot (marked by a custom regexp) with string values from your dictionary object, even recursively, but avoiding loops.
Account's avatar
Shallow-merge a POJO with cached known data if a cache POJO is provided.
Account's avatar
Ensure your input becomes an Array, and keep only the truthy values.
Account's avatar
Parse and encode (plain or Base64) data URIs with JSON content and correct MIME type.
Account's avatar
Run p-tape test functions from a list, using the function name as the test name.
Account's avatar
Summarize an Express-style HTTP request object. Tries to make result JSON-friendly.
Account's avatar
Allay expected promise rejections: Resolve with your failure value instead.
Account's avatar
Nicer API for the parts of the `pg` postgres module that I actually use. Mostly renamed config keys for pool config
Account's avatar
(p, ...a) → Object.assign(Object.create(p), ...a)
Account's avatar
Read a text file entirely and return a promise for an array of text lines.
Account's avatar
Declare bash config files for use with terminal-util-pmb's pluggable-bashrc-sourcer.
Account's avatar
Simplify declaration of DNS servers and related stuff.
Account's avatar
Convert a dictionary object to an array of key=value pairs.
Account's avatar
YAMLify your data with my favorite YAMLifier and YAMLification settings, whatever those currently are.
Account's avatar
Template functions to make YAML file headers and footers.
Account's avatar
Split a 'Content-Type: multipart/mixed' email into parsed headers and body parts.
Account's avatar
Parse a single email attachment into meta data and body.
Account's avatar
A simple, feature-incomplete YAML writer
Account's avatar
If a value is defined (!== undefined), call a function to potentially refine it.
Account's avatar
Express CJS bundle dependencies in a way that can be picked up by naive dependency scanners.
Account's avatar
Merge each item from an array (e.g. of options objects) with a base (e.g. an options object with default options) and optionally convert them using a custom conversion function. Supports promises and async functions.
Account's avatar
Convert and resolve ubborg bundle URLs.
Account's avatar
Wrap a function to modify its options object argument to be merged with default options and wrapped in an objPop instance with type checking.
Account's avatar
Look up the value of some config object's property in a dictionary object, throw if not found. (Double lookup, double throw.)
Account's avatar
Given an object with methods and a list of method names, return a new object with promisified bound versions of those methods.
Account's avatar
tryit + verror = Verbosely try.

Top contributors

mk-pmb's profile
mk-pmb
4 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet