call-function
Invoke function if is it callable and return result otherwise undefined
Found 4840 results for function call
Invoke function if is it callable and return result otherwise undefined
Extract names from functions
Returns true if a value is a plain object, array or function.
Call exports module from command line.
Module that helps you write generated functions in Node
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Visit a method over the items in an object, or map visit over the objects in an array.
accepts a function call as parameter to execute in gulp pipeline
check if an AST node is a function of some sort
Map `visit` over an array of objects.
Check whether a value is a generator or generator function
TypeScript implementation of debounce
Functions to create and call functions and evaluate expressions
Tiny function for spying on function calls.
Compose new functions f(g(x))
Sort the keys in an object.
Convert an argument into a valid iterator. Based on the `.makeIterator()` implementation in mout https://github.com/mout/mout.
Wraps a function with a function of a sertain arity.
Implementation of Function.prototype.bind
Universal Children Definition for React Components
Determine if a function is an ES6 arrow function or not.
Run an array of functions in parallel, but limit the number of tasks executing at the same time
Matches strings against configurable strings, globs, regular expressions, and/or functions
Type checking for JavaScript functions
Get the path of the parent module
`Start a promise chain
Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
Set the length of a function.
Define a lazily evaluated property on an object
Determine if a function is a native generator function.
Set a function's length property
An ES2015 spec-compliant `Function.prototype.name` shim
Converts function to its source code.
Validates if a value is a function.
Memoize promise-returning & async functions
Does this JS environment support the `name` property on functions?
Checks if the given value is a native function.
two functions: One that returns true, one that returns false
Set a function's name property
Fork a stream in multiple directions according to a function
Check if something is a generator function
Determine if a function is a native async function.
OpenAI tokens calculator with function calls, images, and messages in one call
Monkey-patch (hook) functions for debugging and stuff.
Create a promise that can be canceled
Check if function is an ES6 class.
A function that returns the normally hidden `AsyncFunction` constructor
Calls the passed function once in the passed interval.
Make a function mimic another one
JavaScript function overloading framework.
PostCSS plugin to transform W3C CSS color function to more compatible CSS.
Currying in javascript. Like .bind() without also setting `this`.
Markdown template helper. Uses remarkable to render markdown in templates. Should work with Handlebars, Lo-Dash or any template engine that supports helper functions.
reverse the arguments passed to a function.
Get a list of function's argument variable names
Delay function calls until a set time elapses after the last invocation
Throttle a function to limit its execution rate
Get the path of the caller function
Compose an array of middleware into a single function for use in Express, Connect, router, etc.
Inspects a function and returns informations about it (e.g. name, parameters names, parameters and default values, signature)
Get the callsite of the caller function
Isomorphic, functional type-checking for Javascript
It's noop function. It does nothing.
Inspects function's parameters declaration and returns information about it (e.g. names, default values, if needs destructuring, destructured parameters names and default values)
Convert classes into factory functions so they can be called with or without new.
Automatically bind methods to their class instance
Fork a stream into multiple streams
grab bag of easing equations
because i get tired of typing EE.prototype.emit.bind.bind(EE.prototype.emit)
Return a value or an evaluated function (with arguments).
Flatten a function's argument. Like, really flatten
Wrap a function without changing its name and other properties
A parser and converter for Tab Atkins's proposed color function in CSS.
Renames functions calls, but leaves function definitions unchanged.
A string template tag to strip leading indents from your heredoc-style multi-line strings
Ensure a function is only called once. This is a fork of sindresorhus/onetime, but with CommonJS support.
AWS Lambda mock context object
Eslint plugin to control function call code style
Manage and call async functions
Takes an object of CommonJS module paths that export functions and returns an object of functions that call the module functions in a worker.
JSS plugin for function value and rule syntax
Normalize a value or function, applying extra args to the function
Markdown template helper. Uses remarkable to render markdown in templates. Should work with Handlebars, Lo-Dash or any template engine that supports helper functions.
Stringifies function's parameters definition
Chained function calls
Fast and simple C FFI (foreign function interface) for Node.js
Run an array of functions in series
the fastest version of Function#bind I could make
Executes a callback for each property found on a object, with options regarding enumerability (enumerable or non-enumerable) and ownership (inherited or only own properties). It excludes built-in properties from Object and Function prototypes by default,
No-dependencies, low-level, high-performance JIT code generation package for JavaScript
Capture and retrieve the last time a function was run
Check if function is an ES6 class.
Use the gray() color function in CSS
Function that returns an arbitrary async generator function, or undefined if async generator syntax is unsupported.
Run promise-returning & async functions concurrently with optional limited concurrency
Make a synchronous function have a timeout
Executes a callback for each property found on a object, recursively on nested properties, with options regarding enumerability (enumerable or non-enumerable) and ownership (inherited or only own properties). It excludes built-in properties from Object an
Debounce a function
Wrap mongodb node.js driver so it expose only two main function `query` and `transact`, so you can seperate pure function in domain business and side-effect (avoiding not dot notation call)
Fast and simple way to parse code context for use with documentation from code comments. Parses context from a single line of JavaScript, for functions, variable declarations, methods, prototype properties, prototype methods etc.
Function that returns an arbitrary `async function`, or undefined if `async function` syntax is unsupported.
Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input
Strips javascript code blocks out of README (or any other markdown) files and converts them into function objects.
Mathematical expression evaluator
Get the name of a named function
Wraps synchronous functions with a callback-style API
Node.js test runner that lets you develop with confidence.
return a curried function
Return a function which tests if every element in an array passes a test condition.
Get the argument names of a JavaScript function
Return a regular expression to capture a function name.
Test if a value is a function.
Return a double-precision floating-point number with the magnitude of x and the sign of y.
Load helpers with patterns, as an object, key-value pair, or module.
Clones a function (creates wrapper function), with the same signature as source function
Fast, generic JavaScript/node.js utility functions.
Retrieves the value of a specified property from all elements in the collection.
Wrap a function to be able to call it with promises as arguments, i.e. use promises as if they where non-promise values
Function which does nothing.
Make a function mimic another one. This is a fork of sindresorhus/mimic-fn, but with CommonJS support.
Get the arguments of a function, arrow function, generator function, async function
converts callback-based functions to Promises and apply currying to arguments
OpenAI LLM function schema from OpenAPI (Swagger) document
Wraps synchronous functions with a cps (callback passing style) function
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
PostCSS plugin for exposing JavaScript functions
Returns an object’s class and its ancestors.
Validate and format function arguments ( handles types and optionals)
Parse a function into an object using espree, acorn or babylon parsers. Extensible through Smart Plugins
Get arguments of a function, useful for and used in dependency injectors. Works for regular functions, generator functions and arrow functions.
Specify properties for which a variable, function, keyword or value must be used
Fast kernel density estimation library
Easily draw function graphs in text mode.
Provides a list of reserved identifiers for JavaScript
Allows you to bannish some methods or functions.
Stand-in for a function
Make weak references to JavaScript Objects.
Function name shim (especially for supporting function names in Internet Explorer).
Create a lazy promise that defers execution until it's awaited or when `.then()`, `.catch()`, or `.finally()` is called
Simple, lazyily evaluated values.
FNV-1a non-cryptographic hash function
use function as webpack loader option
Check if a string is a valid JavaScript identifier
Retrieves parameter names from a function
DJB2a non-cryptographic hash function
ESLint rules for functional programming
Make weak references to JavaScript Objects.
Run an array of functions in series, each passing its results to the next function (waterfall)
🔨 Invokes 'fn1' until 'limit' is reached after that call 'fn2'
Safely evaluate JavaScript (estree) expressions, sync and async.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Check if a value is a function
Parse function arguments. Useful to implement variadic functions.
Validate the type of arguments passed through the function.
Creates a queue of sync or async functions with resolve and reject callback.
Wraps JavaScript code within an immediately invoked function expression.
Instances of classes which are directly callable as functions.
worker-fn hides the complexity of communication between the JavaScript main thread and Worker threads, making it easy to call the functions defined in workers.
Add context awareness to your apps and frameworks by safely evaluating user-defined conditional expressions. Useful for evaluating expressions in config files, prompts, key bindings, completions, templates, and many other user cases.
Sorting and matching utility using configurable string, glob, regular expression, and/or function matchers
commitlint plugin to use functions as rule value
Wraps a function so that it's only ever executed once.
return a debounced function
Make an asynchronous function synchronous
Create a transform stream using await instead of callbacks
Mathematical expression evaluator fork with prototype pollution fix
Overloads a function. Makes parameters optional.
Simple javascript lib for converting a [comma || space] delimited string to an array
Repeat function call depending on the previous call result and specified conditions.
Exponential function.
Lightweight logging library for any Node 10+ applications
Find how many values of a discrete periodic function are contained in an interval.
return a throttled function
Gives a wrapper function the properties and string value of its underlying function.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
Defines fallback behavior in case a variable is not a function. Perfect for optional callback parameters.
Gamma function.
Qualified Function. Wraps a function so it only gets executed if a condition is true.
Find the nearest value of a discrete periodic function, given a point.
Given a point and a distance, determine how many periodic values were skipped.
function try-catch wrapper for promises
Limit the execution rate of a function using the token bucket algorithm
Replace text in files using strings, regexs or functions.
A collection of utilities for JavaScript functions
Create a promise that can be canceled. This is a fork of sindresorhus/p-cancelable, but with CommonJS support.
A module for sending responses from lambda-funciton backed custom resources in AWS CloudFormation
Assert that a value is a function
PostCSS plugin to implement SASS color functions
one no-op function to rule them all
Function storage for Mongoose
Natural exponential function.
A small utility module that converts function arguments to an object for use within the function based on a supplied metadata object. This allows parameters to be passed in any order, making the resultant function very flexible.
stringify objects containing functions
Constant function.
Simple function call parser
Function parameter decorator transform plugin for babel v7, just like typescript.
Retrieves the argumentnames of a function
Flex JWE Token Validator
Parse an AWS Lambda function name into a name and a qualifier
a babel plugin for remove some function call
The gaussian (radial basis function) kernel
Function.prototype.bind replacement that provides an `unbounded` hidden property on the returned bounded function, that contains the original unbounded function
Round a double-precision floating-point number toward zero.
A pipe function to perform function composition in LTR (Left To Right) direction.
Create a promise that reports progress
Create a matching function from a glob pattern, regex, string, array, object or function.
Complementary error function.
gulp-fn - gulp plugin used in order to run custom callback functions per file
Evaluate bˣ - 1.
Calculate a scaled Lanczos sum for the approximation of the gamma function.
Natural logarithm of the gamma function.
◻️ Supreme nothingness
Incomplete gamma function.
Compute gamma(x+1) - 1.
Determine the best order for running async functions, and run them
Evaluate a factorial.
Async Function Queue
Compute exp(x) - 1.
React components for [Stripe.js and Elements](https://stripe.com/docs/stripe-js).
LaunchDarkly Server SDK for JavaScript - common Edge SDK code
An implementation of the memoize technique
Validate the api to your functions to help people use them correctly. This is pretty much React's propTypes without React.
Provides an object similar to Function Runtime's context for use in unit testing
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
A safe callback to string serializer
Functional multimethod library
Turn a callback-style function into a function that returns a promise
Functional composition library
Make configurable canvas easily with Canvafy
Functional dispatch library
Coerce props to custom values
Error helpers library
Inverse complementary error function.
A wrapper for AWS's [Step Functions Local](https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html).
Have your arguments, and validate it too. -- Slick arguments validator for all your js functions.
Compute the binomial coefficient.
Compute the ratio of two gamma functions.
A foreign function interface (FFI) for Node.js
🦅 cli syntax highlighting: any function - any object - 176 languages
Create javascript functions with optional, default and named paramaters.
Beta function.
create a function that can only be invoked once
Select an attribute of an object based on semver versioning
Natural exponential function.
A simple javascript utility for function binding memoization.
Evaluate the signum function for a double-precision floating-point number.
Incomplete beta function.
When a function is not enough
Incomplete beta function and its first derivative.
Calculate the Lanczos sum for the approximation of the gamma function.