72 packages found

    Description

    For those who don't like the node (er, result) convention

    Keywords

    Publisher

    published 1.0.08 years ago
    M
    Q
    P

    Description

    Compose your control flow with absolute elegance. Support async/await, callbacks, thunks, generators, promises, observables, child processes and streams. Can power applications that need to have plugins. Useful for creating task, test and bench runners.

    Keywords

    Publisher

    published 0.4.06 years ago
    M
    Q
    P

    Description

    A better looking method to format errors and data from a callback.

    Keywords

    Publisher

    published 0.2.15 years ago
    M
    Q
    P

    Description

    (wip) Filter possible web colors (by name or hex or rgb(a) or hsl(a) value) with glob patterns or callback which returns true

    Keywords

    Publisher

    published 0.0.0-16 years ago
    M
    Q
    P

    Description

    Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement for [async-done][] - pass 100% of its tests plus more

    Keywords

    Publisher

    published 1.1.05 years ago
    M
    Q
    P

    Description

    Is function really asynchronous function? Trying to guess that based on check if [common-callback-names][] exists as function arguments names or you can pass your custom.

    Keywords

    Publisher

    published 1.3.0a year ago
    M
    Q
    P

    Description

    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

    Keywords

    Publisher

    published 1.0.122 years ago
    M
    Q
    P

    Description

    Hybridify. Hybrids. Create sync or async function to support both promise and callback-style APIs in same time. Using the power of [relike][].

    Keywords

    Publisher

    published 2.0.05 years ago
    M
    Q
    P

    Description

    Converts whatever standard NodeJS callback function into ES6 standard promise.

    Keywords

    Publisher

    published 1.1.12 years ago
    M
    Q
    P

    Description

    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.

    Keywords

    Publisher

    published 0.2.06 years ago
    M
    Q
    P

    Description

    List of common callback names - callback, cb, callback_, next, done.

    Keywords

    Publisher

    published 2.0.14 years ago
    M
    Q
    P

    Description

    Make a Promise from a function with a callback and preserve its error stack.

    Keywords

    Publisher

    published 3.2.0a year ago
    M
    Q
    P

    Description

    try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].

    Keywords

    Publisher

    published 2.0.24 years ago
    M
    Q
    P

    Description

    Promisify a callback-style function

    Keywords

    Publisher

    published 3.0.0-33 years ago
    M
    Q
    P

    Description

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

    Keywords

    Publisher

    published 1.0.62 years ago
    M
    Q
    P

    Description

    Low-level package to handle completion and errors of sync or asynchronous functions, using [once][] and [dezalgo][] libs. Useful for and used in higher-level libs such as [always-done][] to handle completion of anything.

    Keywords

    Publisher

    published 2.0.34 years ago
    M
    Q
    P

    Description

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

    Keywords

    Publisher

    published 1.0.35 years ago
    M
    Q
    P

    Description

    Dispatcher architecture for webapplications

    Keywords

    Publisher

    published 1.7.05 years ago
    M
    Q
    P

    Description

    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.

    Keywords

    Publisher

    published 1.0.15 years ago
    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.15 years ago
    M
    Q
    P