Search results

79 packages found

Wrap a promise to allow passing callback to `.then` of given promise, also works as normal `.then`

published 1.0.3 8 years ago
M
Q
P

Promisify a callback-style function

published 3.0.2 6 years ago
M
Q
P

Returns true if function is a callback. Checks its name is one of [common-callback-names][] - callback, cb, cb_, callback_, next, done, they can be customized, these are default.

published 1.0.1 8 years ago
M
Q
P

Transform sync, async or generator function to Stream. Correctly handle errors and optional arguments.

published 1.0.1 8 years ago
M
Q
P

Dispatcher architecture for webapplications

published 1.7.0 8 years ago
M
Q
P

Create promise from sync, async, string, number, array and so on. Handle completion (results) and errors gracefully! Built on top of `relike`, used by `redolent` to build robust (hybrid) APIs.

published 1.0.0 8 years ago
M
Q
P

A backport of `util.callbackify` for Node.js 6.0 and up.

published 1.0.0 6 years ago
M
Q
P

Observableify a callback-style function

published 1.0.0 8 years ago
M
Q
P

Immediately invoked [pify](https://github.com/sindresorhus/pify)

published 1.1.1 6 years ago
M
Q
P

Nodeify a promise-returning function

published 2.0.0 8 years ago
M
Q
P

transform an async function to callback style

published 0.0.2 8 years ago
M
Q
P

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

published 0.1.1 9 years ago
M
Q
P

Promisify, basically, everything. Generator function, callback-style or synchronous function; sync function that returns child process, stream or observable; directly passed promise, stream or child process.

published 1.1.1 9 years ago
M
Q
P

awaitable callback

published 1.0.2 5 years ago
M
Q
P

Wraps synchronous functions with a callback-style API

published 1.0.0 10 years ago
M
Q
P

Extra err.stack entries for debuggability. Better than your plain 'if (err) { return cb(err) }'

published 1.0.0 8 years ago
M
Q
P

Convert a callback-style function to an AsyncFunction

published 4.0.3 6 years ago
M
Q
P

Super light and simple to use global application state and storage, subscribe/unsubscribe for data change etc..

published 1.0.6 5 years ago
M
Q
P

if a function is defined run it with given args

published 1.0.2 3 years ago
M
Q
P

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

published 1.0.0 9 years ago
M
Q
P