168 packages found
Ensure a function is only called once
Check if something is a generator function
Run promise-returning & async functions concurrently with optional limited concurrency
Define a lazily evaluated property on an object
- View more
Set of methods allowing simplify work with promises in cycle such as: forEach, map, find, filter, reduce, while, transform. Besides there are methods for comfortable work with promises or asynchronous operations - all, retry, timeout.
- flow control
- fluent interface
- promise methods
- View more
Debounce a function
◻️ Supreme nothingness
Eslint plugin to control function call code style
Wrap a function to be able to call it with promises as arguments, i.e. use promises as if they where non-promise values
Check if something is an ES7 async function
A memoization library that caches the result of the different arguments
Fast filter array to have only function values. But also allow you to give iterator function which will be called on each element of the array that is function - much like array.map functionallity. Useful when you want to filter, but also want to map in s
Utility for type casting & data conversion.
Create thunk from async or sync function. Works like `thunkify`.
Make a synchronous function have a timeout
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.
Filter and flattenify array to have only function values. Much like `arr-filter-function` package, but with flatten.
Make a function mimic another one
Create callback api from synchronous function. Same as `make-callback`, but won't handle generators and if async function is given returns it.