Search results
168 packages found
A powerful javascript functions library!
- fn
- fn.js
- funclib
- funclib.js
- FuncLib
- function
- functions
- javascript
- typescript
- nodejs
- util
- utils
- tools
- lib
- View more
Check that given string, function or arrow function have empty body, using `parse-function`.
Returns true if function is a callback. Checks its name is one of [common-callback-names][] - callback, cb, cb_, callback_, next, done, they can be customized, these are default.
Transform sync, async or generator function to Stream. Correctly handle errors and optional arguments.
- args
- arguments
- async
- asynchronous
- callback
- callback-stream
- cb
- correct
- create
- fn
- function
- generator
- generators
- letta
- View more
Load template engine helpers (handlebars, lo-dash, etc) from file paths, globs, arrays or objects.
![test: passed](https://raw.githubusercontent.com/PavelDymkov/jest-async-fn/main/badges/test.svg) ![license: ISC](https://raw.githubusercontent.com/PavelDymkov/jest-async-fn/main/badges/license.svg)
Bind context (optional) and multiple arguments to function.
- args
- arguments
- argz
- bind
- bind-context
- bind-ctx
- bind-fn
- bindargs
- bindcontext
- bindctx
- bindfn
- bound
- boundfn
- context
- View more
Parse a function into an object using espree, acorn or babylon parsers. Extensible through Smart Plugins
Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.
Wraps synchronous functions with a callback-style API
CJS version: Make a function mimic another one
CJS version: Ensure a function is only called once