1269 packages found
Higher-order functions and common patterns for asynchronous code
Promisify a callback-style function
- View more
Call a callback when a readable/writable/duplex stream has completed or failed.
Run an array of functions in parallel
Make a callback- or promise-based function support both promises and callbacks.
pipe streams together and close all of them if one of them closes
A tiny but capable push & pull stream library for TypeScript and Flow
Compare items in two sequences to find a longest common subsequence
call your callbacks in a waterfall, at speed
Accept an optional node-style callback, and also return a spec-compliant Promise!
Pipe a stream into a string, collect value with callback or promise
Convert promised code to use node style callbacks
Function which does nothing.
A config driven wrapper for amqplib supporting multi-host connections, automatic error recovery, redelivery flood protection, transparent encryption / decryption, channel pooling and publication timeouts
Run an array of functions in series
Let your JS API users either give you a callback or receive a promise
async/await for node.js
- control flow
- callback hell
- pyramid of doom