70 packages found

M
Q
P

Description

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.

Keywords

Publisher

published 1.0.14 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.14 years ago
M
Q
P

Description

Dispatcher architecture for webapplications

Keywords

Publisher

published 1.7.04 years ago
M
Q
P

Description

awaitable callback

Keywords

Publisher

published 1.0.22 years ago
M
Q
P

Description

Minimalist alternative for Base. Build complex APIs with small units called plugins. Works well with most of the already existing [base][] plugins.

Keywords

Publisher

published 1.0.14 years ago
M
Q
P

Description

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.

Keywords

Publisher

published 1.0.05 years ago
M
Q
P

Description

Promisify a callback-style function

Keywords

Publisher

published 3.0.22 years ago
M
Q
P

Description

Promisify all function in an object, using [relike][].

Keywords

Publisher

published 2.2.04 years ago
M
Q
P

Description

Wraps synchronous functions with a callback-style API

Keywords

Publisher

published 1.0.06 years ago
M
Q
P

Description

Observableify a callback-style function

Keywords

Publisher

published 1.0.05 years ago
M
Q
P

Description

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.

Keywords

Publisher

published 1.0.04 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.1.12 years ago
M
Q
P

Description

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.

Keywords

Publisher

published 1.1.15 years ago
M
Q
P

Description

Dispatcher architecture for webapplications

Keywords

Publisher

published 1.3.25 years ago
M
Q
P

Description

transform an async function to callback style

Keywords

Publisher

published 0.0.24 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Acts like `[email protected]` 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

Keywords

Publisher

published 0.1.15 years ago
M
Q
P

Description

Small, parallel and fast test framework with suppport for async/await, promises, callbacks, streams and observables. Targets and works at node.js v0.10 and above.

Keywords

Publisher

published 0.4.94 years ago
M
Q
P

Description

Convert a callback-style function to an AsyncFunction

Keywords

Publisher

published 4.0.32 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.05 years ago