Search results
169 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Check if something is a generator function
Ensure a function is only called once
Define a lazily evaluated property on an object
- lazy
- property
- properties
- prop
- define
- object
- value
- lazily
- laziness
- evaluation
- eval
- execute
- getter
- function
- View more
Make a function mimic another one
Get the name of a named function
Run promise-returning & async functions concurrently with optional limited concurrency
Make a synchronous function have a timeout
Debounce a function
Converts function to its source code.
module.exports = function (x) { return x }
Parse a function into an object using espree, acorn or babylon parsers. Extensible through Smart Plugins
- args
- arguments
- async
- async-await
- asyncawait
- await
- babel
- developer-experience
- development
- dx
- fn
- func
- function
- generators
- View more
Checks if the given value is a native function.
Check if a value is a function
Constant function.
determine if a function is a generator function
Make a function mimic another one. This is a fork of sindresorhus/mimic-fn, but with CommonJS support.
Ensure a function is only called once. This is a fork of sindresorhus/onetime, but with CommonJS support.
Get arguments of a function, useful for and used in dependency injectors. Works for regular functions, generator functions and arrow functions.
- args
- arguments
- arrow
- arrow-function
- arrows
- dependency
- deps
- fn
- func
- function
- function-arguments
- generator
- generators
- get
- View more
Wraps synchronous functions with a callback-style API
Returns an array of names from a module. Includes all enumerable properties with function values, own and inherited.