3 packages found

    Check whether an object looks like Hybrid which is promises-a+ promise and callback api

    published 1.0.1 7 years ago
    M
    Q
    P

    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

    published 1.1.0 6 years ago
    M
    Q
    P

    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.

    published 1.0.1 6 years ago
    M
    Q
    P