value-or-function
Normalize a value or function, applying extra args to the function
Found 4839 results for function call
Normalize a value or function, applying extra args to the function
JSS plugin for function value and rule syntax
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
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,
the fastest version of Function#bind I could make
Capture and retrieve the last time a function was run
Run an array of functions in series
No-dependencies, low-level, high-performance JIT code generation package for JavaScript
Check if function is an ES6 class.
Function that returns an arbitrary async generator function, or undefined if async generator syntax is unsupported.
Use the gray() color function in CSS
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.
Return a double-precision floating-point number with the magnitude of x and the sign of y.
Test if a value is a function.
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
Specify properties for which a variable, function, keyword or value must be used
Get arguments of a function, useful for and used in dependency injectors. Works for regular functions, generator functions and arrow functions.
Fast kernel density estimation library
Provides a list of reserved identifiers for JavaScript
Allows you to bannish some methods or functions.
Easily draw function graphs in text mode.
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
Check if a string is a valid JavaScript identifier
Retrieves parameter names from a function
DJB2a non-cryptographic hash function
use function as webpack loader option
Make weak references to JavaScript Objects.
ESLint rules for functional programming
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.
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.
Instances of classes which are directly callable as functions.
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
Mathematical expression evaluator fork with prototype pollution fix
Create a transform stream using await instead of callbacks
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.
Find how many values of a discrete periodic function are contained in an interval.
[![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
return a throttled function
Defines fallback behavior in case a variable is not a function. Perfect for optional callback parameters.
Gamma function.
Lightweight logging library for any Node 10+ applications
Gives a wrapper function the properties and string value of its underlying 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.
stringify objects containing functions
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.
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
Function.prototype.bind replacement that provides an `unbounded` hidden property on the returned bounded function, that contains the original unbounded function
The gaussian (radial basis function) kernel
Round a double-precision floating-point number toward zero.
A pipe function to perform function composition in LTR (Left To Right) direction.
Create a matching function from a glob pattern, regex, string, array, object or function.
Create a promise that reports progress
Complementary error function.
Evaluate bˣ - 1.
gulp-fn - gulp plugin used in order to run custom callback functions per file
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.
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.
React components for [Stripe.js and Elements](https://stripe.com/docs/stripe-js).
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).
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
Have your arguments, and validate it too. -- Slick arguments validator for all your js functions.
Beta function.
create a function that can only be invoked once
Create javascript functions with optional, default and named paramaters.
Select an attribute of an object based on semver versioning
Natural exponential function.
A simple javascript utility for function binding memoization.
When a function is not enough
Evaluate the signum function for a double-precision floating-point number.
Incomplete beta function.
Incomplete beta function and its first derivative.
Calculate the Lanczos sum for the approximation of the gamma function.
Inverse incomplete gamma function.
A simple utility to call a function if it exists
Evaluate ln(1+x) - x.
determine if a function is a generator function
Extract function definitions from an array of GLSL tokens.
Function constructor.
Partial application. Shuv args around the place.
Limit the execution rate of any function
Determine a function's name.
Rename a function
return a function composed of 2 or more functions
Inverse incomplete beta function.
Instances of classes which are directly callable as functions.
Utility library of AST helper functions
Detect native function name support.
Color scheme system pack for Seed
Get the hash of a string
Call a module's exported functions directly from the command line, with arguments.
Frequent default values
Return a function which tests if every element in an array-like object passes a test condition.
Limit the number of function parameters and arguments with ease and flexibility
A toolkit for deep structure manipulations, provides deep merge/clone functionality out of the box, and exposes hooks and custom adapters for more control and greater flexibility.
A foreign function interface (FFI) for Node.js, N-API style
Add some chicken curry to your functions
Tap into a promise chain without affecting its value or state
Delay the call of a function in a given context.
ESLint rules for controlling where and how mutation is used.
Modulus function.
Error function.
Natural logarithm of the beta function.
Convert ES6 class constructor to normal function.
Implements Tab Atkins's proposed color function in CSS.
Returns an array of names from a module. Includes all enumerable properties with function values, own and inherited.
Drop-in BDD helpers for AVA test runner 🌠
Create a lazily evaluated value
Pass a value through a pipeline of functions
get a function's source
This is a tiny library for customizing components appearance
React hook to call function with delay
This is a tiny library for customizing components appearance
Inverse incomplete beta function.
negates a function
Utility functions for Node.js and JavaScript
An async/await module for sending responses from lambda-funciton backed custom resources in AWS CloudFormation
Turns arrays and values into Filtering Functions.
Inverse error function.
Build and evaluate JavaScript strings safely via tagged template literals
Possible Function. Wraps what might be a function, with fallback behavior in case it’s not. Perfect for use in functions that accept optional callback arguments.
Support the Bind Operator
A utility function to detect if a string should be wrapped in quotes to work as an object key
compose an arbitrary number of functions from right to left.
Lodash's memoize function, but in a much smaller package than lodash.memoize's.
Utility functions for Web Extensions, manifest v2 and v3
Creates a variadic function, with a “rest parameter” that’s NOT at the end.
Compute the natural logarithm of the binomial coefficient.
Execute functions in a configurable order, modifying a shared data structure.
Memoized function binding
Subscribe to and publish events between parent and child node processes using the standard node event emitter api or call parent methods directly from the child process and vice versa.
Wraps a function so that it's only ever executed once.
Make sure $q is a constructor (1.3+). Throw if it isn't.
Check if something is an ES7 async function
Evaluate the natural logarithm of the factorial function.
Create functions executed within a web worker and return promises
SDBM non-cryptographic hash function
Batch multiple function calls into a single one
Clojure's API for JavaScript's Objects
Yeskiy RPC (Remote Procedure Call) with Blackjack and Functions!
right-to-left function composition
💠 Recursive assign for objects, arrays and more
Conditional promisify
Emit events when you call an asynchronous function
Auto bind methods to their class instance excluding React Lifecycle Methods
Run a function in a node process
An eslint plugin to enforce method or function name stick to the conventions.
Function sequencing reloaded
Function.
Lightweight utility for decoding function parameters from Ethereum transactions.
An ESLint plugin to prevent function declaration after return statement
Calls a function immediately and repeatedly after a fixed delay
Node.JS Argon2 password hashing algorithm following the PHC string format