promise-finally
Simple wrapper to run promise "finally" logic
Simple wrapper to run promise "finally" logic
Calculate percentages from a list of values.
Promise all results of a collection of promises whether they are resolved OR rejected.
A package help your heroku app is always runs
Execute all the promises whether they resolve or reject
Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement for [async-done][] - pass 100% of its tests plus more
Test suite always passes
前端项目开发中,经常会用到一些工具函数的合集。
Parse the last argument in a function as the callback function
A CLI tool to install the same npm modules that you always install
Assures asynchronous functions always call the callback instead of throwing errors
Adds `irregardless`, `regardless` and `always` as aliases for `Promise.prototype.finally`
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.
Promisify, basically, everything. Generator function, callback-style or synchronous function; sync function that returns child process, stream or observable; directly passed promise, stream or child process.
Async with like promise
Super simple functional programming library
Test suite always fails
Test suite always passes
Create a function always returning a constant
() => false