Search results

169 packages found

Check if something is a generator function

published version 3.0.0, 4 years ago978 dependents licensed under $MIT
120,161,698

Ensure a function is only called once

published version 7.0.0, 2 years ago2152 dependents licensed under $MIT
374,708,506

Define a lazily evaluated property on an object

published version 3.0.0, 4 years ago672 dependents licensed under $MIT
139,943,603

Make a function mimic another one

published version 5.0.1, a year ago36 dependents licensed under $MIT
40,586,391

Run promise-returning & async functions concurrently with optional limited concurrency

published version 5.0.0, 2 years ago306 dependents licensed under $MIT
7,095,497

Make a synchronous function have a timeout

published version 1.0.2, a year ago11 dependents licensed under $MIT
5,151,039

Get the name of a named function

published version 4.0.0, 4 years ago37 dependents licensed under $MIT
3,223,346

Debounce a function

published version 6.0.0, 2 years ago31 dependents licensed under $MIT
4,638,621

Converts function to its source code.

published version 1.0.2, 9 years ago1 dependents licensed under $MIT
653,845

module.exports = function (x) { return x }

published version 1.0.0, 10 years ago4 dependents licensed under $public domain
605,894

Parse a function into an object using espree, acorn or babylon parsers. Extensible through Smart Plugins

published version 5.6.10, 5 years ago65 dependents licensed under $MPL-2.0
814,275

Check if a value is a function

published version 3.0.0, 4 years ago50 dependents licensed under $MIT
813,400

Checks if the given value is a native function.

published version 1.0.1, 9 years ago14 dependents licensed under $MIT
654,133

Constant function.

published version 0.2.2, a year ago303 dependents licensed under $Apache-2.0
361,884

determine if a function is a generator function

published version 0.0.2, 3 years ago22 dependents licensed under $MIT
47,274

Make a function mimic another one. This is a fork of sindresorhus/mimic-fn, but with CommonJS support.

published version 4.0.0, 3 years ago1 dependents licensed under $MIT
64,340

Wraps synchronous functions with a callback-style API

published version 1.0.0, 11 years ago2 dependents licensed under $ISC
40,697

Ensure a function is only called once. This is a fork of sindresorhus/onetime, but with CommonJS support.

published version 6.0.1-cjs.0, 3 years ago1 dependents licensed under $MIT
64,419

Get arguments of a function, useful for and used in dependency injectors. Works for regular functions, generator functions and arrow functions.

published version 1.0.9, 5 years ago45 dependents licensed under $MIT
48,156

Rename a function

published version 2.1.0, 3 years ago9 dependents licensed under $MIT
37,226