npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "callback" 的结果(共 34 个)
finished

Execute a callback when a request closes, finishes, or errors

MIT
wrappy

Callback wrapping utility

ISC
json-schema-traverse

Traverse JSON Schema passing each schema object to callback

MIT
async-done

Allows libraries to handle various caller provided asynchronous functions uniformly. Maps promises, observables, child processes and streams, and callbacks to callback style.

MIT
object.reduce

Reduces an object to a value that is the accumulated result of running each property in the object through a callback.

MIT
object.map

Similar to map for arrays, this creates a new object by calling the callback on each property of the original object.

MIT
execify

A module for shimmimg between execution modes: streams, promises, and callbacks

callbackify

backwards compatibilify your callback functions while migrating apis to promises

MIT
error-first-handler

handles error first callbacks

MIT
cb

Simple utility methods for adding timeouts, throttling, and other common behaviors callbacks.

MIT
reduce-function-call

Reduce function calls in a string, using a callback

MIT
inflight

Add callbacks to requests in flight to avoid async duplication

ISC
lodash._bindcallback

The modern build of lodash’s internal `bindCallback` as a module.

MIT
teamwork

Wait for multiple callback

BSD-3-Clause
mac

A tiny library designed to parallel or series chain streams, promises or functions with callbacks.

MIT
promisify-call

Promisify a function call so users can call a function with a callback or get a promise

MIT
nextback

Wraps callbacks in async

universalify

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

MIT
denodeify

Tool to turn functions with Node-style callback APIs into functions that return Promises

MIT
lodash._basecreatecallback

The internal Lo-Dash function `baseCreateCallback` as a Node.js module generated by lodash-cli.

MIT
es6-promisify

Converts callback-based functions to ES6 Promises

MIT
standard-as-callback

A performant and standard (Bluebird) library that registers a node-style callback on a promise

MIT
walkdir

Find files simply. Walks a directory tree emitting events based on what it finds. Presents a familiar callback/emitter/a+sync interface. Walk a tree of any depth.

MIT
monk-middleware-handle-callback

A monk middleware to handle callback

MIT
with-callback

A small helper function to bridge the gap when returning a promise from a function that takes a callback

MIT
slice-stream

Pipe data through a stream until some fixed length is reached, then callback.

MIT
es-array-method-boxes-properly

Utility package to determine if an `Array.prototype` method properly boxes the callback's receiver and third argument.

MIT
on-socket-error

Execute a callback on socket errors

catering

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

MIT