Search results

1000+ packages found

Make a callback- or promise-based function support both promises and callbacks.

published version 2.0.1, 2 years ago1543 dependents licensed under $MIT
384,727,974

Higher-order functions and common patterns for asynchronous code

published version 3.2.6, 9 months ago34287 dependents licensed under $MIT
270,512,921

Promisify a callback-style function

published version 6.1.0, 3 years ago3695 dependents licensed under $MIT
363,961,377

Run an array of functions in parallel

published version 1.2.0, 4 years ago1835 dependents licensed under $MIT
222,393,813

Call a callback when a readable/writable/duplex stream has completed or failed.

published version 1.4.4, 6 years ago1605 dependents licensed under $MIT
174,926,510

pipe streams together and close all of them if one of them closes

published version 3.0.2, 8 months ago2742 dependents licensed under $MIT
197,614,401

Compare items in two sequences to find a longest common subsequence

published version 29.6.3, 2 years ago993 dependents licensed under $MIT
189,447,014

Throw a given error

published version 2.0.2, 4 years ago83 dependents licensed under $MIT
45,691,717

Let your JS API users either give you a callback or receive a promise

published version 1.0.2, 3 years ago259 dependents licensed under $MIT
35,518,982

Watch globs and execute a function upon change, with intelligent defaults for debouncing and queueing.

published version 6.0.0, 2 years ago224 dependents licensed under $MIT
6,879,626

A tiny but capable push & pull stream library for TypeScript and Flow

published version 6.3.5, 3 months ago140 dependents licensed under $MIT
8,345,379

Run an array of functions in series

published version 1.1.9, 5 years ago167 dependents licensed under $MIT
5,464,523

Run an array of functions in parallel, but limit the number of tasks executing at the same time

published version 1.1.0, 4 years ago65 dependents licensed under $MIT
5,235,081

Wait for multiple callback

published version 6.0.0, 3 years ago13 dependents licensed under $BSD-3-Clause
5,379,201

Library to help write libraries that accept both promises and callbacks.

published version 6.0.0, 3 years ago26 dependents licensed under $MIT
4,300,571

Function which does nothing.

published version 0.2.2, 10 months ago116 dependents licensed under $Apache-2.0
1,751,098

Add a callback to the next tick queue.

published version 0.2.2, 10 months ago73 dependents licensed under $Apache-2.0
1,646,231

Read all stream content and pass it to callback

published version 3.1.0, 9 years ago30 dependents licensed under $MIT
1,194,048

Bundle results of async functions calls into one callback with all the results

published version 2.0.0, 10 years ago36 dependents licensed under $MIT
1,535,419

Simple utility to allow your module to be consumed with a callback or promise

published version 2.1.1, 3 years ago21 dependents licensed under $MIT
927,335