Search results
80 packages found
Function which does nothing.
Handling/creating hybrid errors. Hybrid middleware between callbacks and throws. Helpful util for modules that have hybrid APIs and want when they use promises, directly to throw the errors; when use callbacks to pass errors to first argument of this call
es6 Native Promise Defer that helps build promise/callback dual APIS
Flexible and cross-platform executing commands. Hybrid, Async and Promise API.
A Promise that's also a callback. Helpful for adapting callback APIs and event emitters for async/await code.
Make promise to have support for callback api, it returns promise in that same time.
- api
- apis
- aplus
- args
- argument
- arguments
- bluebird
- callback
- callbacks
- cb
- handle
- handle-callback
- hybrid
- hybrid-apis
- View more
Create callback api for given sync function. Guarantee that given function (sync or async, no matter) will always have callback api and will handle errors correctly.
Process thousands of asynchronous or synchronous jobs, concurrently or sequentially, safely and efficiently, without creating thousands of closures.
- abort
- array
- async
- asynchronous
- callback
- cb
- closure
- concurrency
- concurrent
- control
- control flow
- each
- error
- flow
- View more
Reduces an object to a value that is the accumulated result of running each property in the object through a callback. Executes the callback function once for each own enumerable property in the object, receiving four arguments: the initial value (or valu
- accumulate
- accumulator
- callback
- cb
- find
- for-in
- for-own
- has
- has-own
- hasOwn
- index
- iterate
- iterator
- javascript
- View more
Wraps synchronous functions with a cps (callback passing style) function
Extract the options and callback from a function's arguments easily
For those who don't like the node (er, result) convention
Finds and returns a node-style callback.
An unintrusive, modern, and extremely simple callback-to-promise wrapper that makes no assumptions.
Simple, fast, flexible and cross-platform async executing commands (with node-cross-spawn).
small utility that wraps callbacks in native promises (es6)
Make synchronous function or generator to support callback api
- api
- async
- asynchronous
- callback
- callback-api
- cb
- create
- create-async
- create-callback
- make
- make-callback
- sync
- synchronous
Check that given branch/tag/release exist in github repo, using `user/repo#branch` pattern.
Tiny, dependency free promisify library.
- promise
- promisify
- promisify-all
- promisify-some
- promisify-except
- then
- thenify
- thenify-all
- thenify-some
- thenify-except
- callback
- cb
- fulfill
- wrap
- View more
Create callback api from synchronous function. Same as `make-callback`, but won't handle generators and if async function is given returns it.