Search results
142 packages found
CJS version: Ensure a function is only called once
CJS version: Make a function mimic another one
CommonJS version of mimic-fn 4.0.0. See https://github.com/mifi/commonify
Acts like `co@4` and also is drop-in replacement for it (pass 100% of the tests). Built on top of `merz`, actually thanks to `always-done`. But accept everything, not only generators - sync functions, async functions, callbacks and more. Flow-control for
- async
- asynchronous
- callback
- cb
- child
- child-process
- co
- coify
- compat
- compatibility
- control
- control-flow
- done
- drop
- View more
Generatorify, basically, everything. You can create generator function from callback-style or synchronous function; sync function that returns child process, stream or observable; directly passed promise, stream or child process.
Wait for an array/obj of async functions and return values when done.
Nodejs library for registering functions, and then executing only selected functions with the specified arguments. You can configure function specific arguments and also common arguments for all the functions to be executed.
Function argument parser with support of destructuring
This package contains some typescript types i use in many project. Some examples are: ```ts const o1: Option<string> = { kind: 'some', value: 'hello i am an option value' }
Extends `letta` to accept and handles more than functions only. Handles all kind of results from `letta`. Basically, creating promise from everything - strings, arrays, objects, functions, generators, generator functions, promises, streams, child processe
Run a function if it exists.
Small no-dependencies ES5 utility to implement simple function calls throttling.
Execute and manage your code asynchronously with workers and promise.
- promise
- javascript
- queue
- line
- process
- func
- limit
- execution
- nodejs
- workers
- worker
- error
- manager
- asynchronous
- View more
对react-native全局进行配置,对内置对象原型链增加方法,增加常用全局方法.
Just some helper functions
Parse function to object with same key names as arguments names and values that you pass in same order.
Rename a given function. Tries to be cross-platform and guaranteed. Useful when you want to preserve name of bound function. In bonus, allows passing context to the renamed function.