compromiser
A Promise that's also a callback. Helpful for adapting callback APIs and event emitters for async/await code.
A Promise that's also a callback. Helpful for adapting callback APIs and event emitters for async/await code.
introduce chaos to callbacks (inject errors occasionally)
Promisify sync, async or generator function, using [relike][]. Kind of promisify, but lower level. Full compatibility with [co][]4 and passing 100% of its tests.
Extends `letta` to accept and handles more than functions only. Handles all kind of results from `letta`. Basically, creating promise from everything - strings, arrays, objects, functions, generators, generator functions, promises, streams, child processe
Observableify a callback-style function
A stack-agnostic SASS library providing a framework-agnostic, Neat-based grid system intended for the Employer experience
(wip) Filter possible web colors (by name or hex or rgb(a) or hsl(a) value) with glob patterns or callback which returns true
Dispatcher architecture for webapplications
Converts result-first callbacks to classic (node.js-style) error-first callbacks with 3 lines of code. Useful when you want to promisify result-first APIs (like emitter.on). Inspired by [rfpify][] and probably used in it.
Basic iterator for [async][] library that handles async and synchronous functions, also emits `beforeEach`, `afterEach` and `error` events. Using [async-simple-iterator][] and used in [async-control][].
Middleware composition at new level. Ultimate alternative to `ware`, `plugins`, `koa-compose` and `composition` packages. Allows you to use callbacks, promises, generators and async/await functions as middlewares.
test cs product
Acts like `co@4` and also is drop-in replacement for it (pass 100% of the tests). Built on top of `merz`, actually thanks to `always-done`. But accept everything, not only generators - sync functions, async functions, callbacks and more. Flow-control for
Create callback api from synchronous function. Same as `make-callback`, but won't handle generators and if async function is given returns it.
Minimalist alternative for Base. Build complex APIs with small units called plugins. Works well with most of the already existing [base][] plugins.
Plugin for [minibase][] and [base][] that adds control flow methods `.serial` and `.parallel` to your application, based on the power of [each-promise][] lib for dealing with async flow.
Nodeify a promise-returning function
Extra err.stack entries for debuggability. Better than your plain 'if (err) { return cb(err) }'
One trigger can invoke all the subscribed callbacks events, Can create any number of triggers and each trigger can have any number of event subscribers
awaitable callback