Skip to content
@hybridables

JavaScript Hybrids

#asyncfirst #alwaysasync #hybridify. All hybrids and related things.

Pinned Loading

  1. hybridify hybridify Public

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

    JavaScript 8

  2. always-done always-done Public

    🏆 Handle completion and errors with elegance! Support for async/await, promises, callbacks, streams and observables. A drop-in replacement for async-done - pass 100% of its tests plus more

    JavaScript 32 2

  3. try-catch-callback try-catch-callback Public

    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`.

    JavaScript 5

  4. value2stream value2stream Public

    Transform any value to stream. Create stream from any value - string, array, buffer, number, promise or even Error object.

    JavaScript 3

  5. callback2stream callback2stream Public

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

    JavaScript 3

  6. promise2stream promise2stream Public

    Transform ES2015 Promise to Stream - specifically, Transform Stream using `through2`. Works in object mode by default, but you can pass options directly to the `through2` package.

    JavaScript 3

Repositories

Showing 10 of 40 repositories

Top languages

Loading…

Most used topics

Loading…