kind-of
Get the native type of a value.
Found 4840 results for function *
Get the native type of a value.
Ensure a function is only called once
Implementation of Function.prototype.bind
Get callsites from the V8 stack trace API
Reuse objects and functions with style
Run a function exactly one time
Robustly `.call.bind()` a function
Matches strings against configurable strings, globs, regular expressions, and/or functions
Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
`Start a promise chain
Get the path of the parent module
Run an array of functions in parallel
Robust call-bound JavaScript intrinsics, using `call-bind` and `get-intrinsic`.
Determine if a function is a native generator function.
Set a function's length property
Define a lazily evaluated property on an object
Returns true if a value is a plain object, array or function.
An ES2015 spec-compliant `Function.prototype.name` shim
Does this JS environment support the `name` property on functions?
Set a function's name property
two functions: One that returns true, one that returns false
Check if something is a generator function
Determine if a function is a native async function.
Create a promise that can be canceled
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
A function that returns the normally hidden `AsyncFunction` constructor
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Make a function mimic another one
Visit a method over the items in an object, or map visit over the objects in an array.
Run the supplied function exactly one time (once)
Extract names from functions
Delay function calls until a set time elapses after the last invocation
Throttle a function to limit its execution rate
Call a specified method on each value in the given object.
Map `visit` over an array of objects.
Get the path of the caller function
Isomorphic, functional type-checking for Javascript
Get the callsite of the caller function
Automatically bind methods to their class instance
Module that helps you write generated functions in Node
Convert an argument into a valid iterator. Based on the `.makeIterator()` implementation in mout https://github.com/mout/mout.
Normalize a value or function, applying extra args to the function
Universal Children Definition for React Components
JSS plugin for function value and rule syntax
Set the length of a function.
No-dependencies, low-level, high-performance JIT code generation package for JavaScript
Run an array of functions in series
Capture and retrieve the last time a function was run
Reduce function calls in a string, using a callback
Use the gray() color function in CSS
Make a synchronous function have a timeout
Validates if a value is a function.
Run promise-returning & async functions concurrently with optional limited concurrency
Type checking for JavaScript functions
Debounce a function
Run an array of functions in parallel, but limit the number of tasks executing at the same time
Memoize promise-returning & async functions
Compose new functions f(g(x))
Wraps a function with a function of a sertain arity.
Sort the keys in an object.
Monkey-patch (hook) functions for debugging and stuff.
Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input
Mathematical expression evaluator
Get the name of a named function
Check whether a value is a generator or generator function
Node.js test runner that lets you develop with confidence.
chain a bunch of functions together into a single call
return a curried function
Return a function which tests if every element in an array passes a test condition.
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.
check if an AST node is a function of some sort
TypeScript implementation of debounce
Function which does nothing.
Fork a stream in multiple directions according to a function
Get the arguments of a function, arrow function, generator function, async function
Inspects a function and returns informations about it (e.g. name, parameters names, parameters and default values, signature)
Inspects function's parameters declaration and returns information about it (e.g. names, default values, if needs destructuring, destructured parameters names and default values)
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Check if function is an ES6 class.
PostCSS plugin for exposing JavaScript functions
Wrap a function without changing its name and other properties
A string template tag to strip leading indents from your heredoc-style multi-line strings
A parser and converter for Tab Atkins's proposed color function in CSS.
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
PostCSS plugin to transform W3C CSS color function to more compatible CSS.
Provides a list of reserved identifiers for JavaScript
Allows you to bannish some methods or functions.
Fast kernel density estimation library
Converts function to its source code.
Create a lazy promise that defers execution until it's awaited or when `.then()`, `.catch()`, or `.finally()` is called
reverse the arguments passed to a function.
Function name shim (especially for supporting function names in Internet Explorer).
Checks if the given value is a native 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.
Check if a string is a valid JavaScript identifier
FNV-1a non-cryptographic hash function
Make weak references to JavaScript Objects.
DJB2a non-cryptographic hash function
ESLint rules for functional programming
Run an array of functions in series, each passing its results to the next function (waterfall)
Get a list of function's argument variable names
Markdown template helper. Uses remarkable to render markdown in templates. Should work with Handlebars, Lo-Dash or any template engine that supports helper functions.
Determine if a function is an ES6 arrow function or not.
Safely evaluate JavaScript (estree) expressions, sync and async.
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,
Check if a value is a function
It's noop function. It does nothing.
Stringifies function's parameters definition
Fast and simple C FFI (foreign function interface) for Node.js
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.
the fastest version of Function#bind I could make
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
Make an asynchronous function synchronous
commitlint plugin to use functions as rule value
JavaScript function overloading framework.
return a debounced function
Create a transform stream using await instead of callbacks
Mathematical expression evaluator fork with prototype pollution fix
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.
Simple javascript lib for converting a [comma || space] delimited string to an array
Find how many values of a discrete periodic function are contained in an interval.
Lightweight logging library for any Node 10+ applications
Exponential function.
return a throttled function
Gamma function.
Find the nearest value of a discrete periodic function, given a point.
Compose an array of middleware into a single function for use in Express, Connect, router, etc.
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
Convert classes into factory functions so they can be called with or without new.
Replace text in files using strings, regexs or functions.
Call a module's exported functions directly from the command line, with arguments.
A module for sending responses from lambda-funciton backed custom resources in AWS CloudFormation
AWS Lambda mock context object
Natural exponential function.
Flex JWE Token Validator
Constant function.
Function parameter decorator transform plugin for babel v7, just like typescript.
Return a value or an evaluated function (with arguments).
Function.prototype.bind replacement that provides an `unbounded` hidden property on the returned bounded function, that contains the original unbounded function
Load helpers with patterns, as an object, key-value pair, or module.
Fast, generic JavaScript/node.js utility functions.
The gaussian (radial basis function) kernel
Retrieves the value of a specified property from all elements in the collection.
Round a double-precision floating-point number toward zero.
Check if function is an ES6 class.
Fork a stream into multiple streams
Currying in javascript. Like .bind() without also setting `this`.
A pipe function to perform function composition in LTR (Left To Right) direction.
Clones a function (creates wrapper function), with the same signature as source function
Flatten a function's argument. Like, really flatten
grab bag of easing equations
Complementary error function.
converts callback-based functions to Promises and apply currying to arguments
Calculate a scaled Lanczos sum for the approximation of the gamma function.
Evaluate bˣ - 1.
Natural logarithm of the gamma function.
because i get tired of typing EE.prototype.emit.bind.bind(EE.prototype.emit)
Incomplete gamma function.
Compute gamma(x+1) - 1.
Renames functions calls, but leaves function definitions unchanged.
Evaluate a factorial.
LaunchDarkly Server SDK for JavaScript - common Edge SDK code
Determine the best order for running async functions, and run them
Compute exp(x) - 1.
An implementation of the memoize technique
A safe callback to string serializer
Turn a callback-style function into a function that returns a promise
Function that returns an arbitrary `async function`, or undefined if `async function` syntax is unsupported.
Functional composition library
Make configurable canvas easily with Canvafy
Coerce props to custom values
Inverse complementary error function.
🦅 cli syntax highlighting: any function - any object - 176 languages
Validate and format function arguments ( handles types and optionals)
create a function that can only be invoked once
Functional multimethod library
Functional dispatch library
Error helpers library
Create javascript functions with optional, default and named paramaters.
Compute the binomial coefficient.
Compute the ratio of two gamma functions.
Select an attribute of an object based on semver versioning
Beta function.
When a function is not enough
Function that returns an arbitrary async generator function, or undefined if async generator syntax is unsupported.
Incomplete beta function.
Evaluate the signum function for a double-precision floating-point number.
Incomplete beta function and its first derivative.
Calculate the Lanczos sum for the approximation of the gamma function.
Extract function definitions from an array of GLSL tokens.
Inverse incomplete gamma function.
Evaluate ln(1+x) - x.
Function constructor.
determine if a function is a generator function
Get arguments of a function, useful for and used in dependency injectors. Works for regular functions, generator functions and arrow functions.
Get the argument names of a JavaScript function
Easily draw function graphs in text mode.
Determine a function's name.
Ensure a function is only called once. This is a fork of sindresorhus/onetime, but with CommonJS support.
use function as webpack loader option
Stand-in for a function
Rename a function
return a function composed of 2 or more functions
Make a function mimic another one. This is a fork of sindresorhus/mimic-fn, but with CommonJS support.
Utility library of AST helper functions
Detect native function name support.
Frequent default values
Inverse incomplete beta function.
Strips javascript code blocks out of README (or any other markdown) files and converts them into function objects.
Chained function calls
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
Get the hash of a string
Validate the type of arguments passed through the function.
Tap into a promise chain without affecting its value or state
Make weak references to JavaScript Objects.
Return a function which tests if every element in an array-like object passes a test condition.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Parse function arguments. Useful to implement variadic functions.
ESLint rules for controlling where and how mutation is used.
Modulus function.
Wraps synchronous functions with a callback-style API
Creates a queue of sync or async functions with resolve and reject callback.
Instances of classes which are directly callable as functions.
Convert ES6 class constructor to normal function.
get a function's source
Sorting and matching utility using configurable string, glob, regular expression, and/or function matchers
Create a lazily evaluated value
Wraps a function so that it's only ever executed once.
Overloads a function. Makes parameters optional.
This is a tiny library for customizing components appearance
Pass a value through a pipeline of functions
Qualified Function. Wraps a function so it only gets executed if a condition is true.
This is a tiny library for customizing components appearance
Build and evaluate JavaScript strings safely via tagged template literals
Utility functions for Node.js and JavaScript
Gives a wrapper function the properties and string value of its underlying function.
Support the Bind Operator
Turns arrays and values into Filtering Functions.
A utility function to detect if a string should be wrapped in quotes to work as an object key
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.
Returns an object’s class and its ancestors.
An async/await module for sending responses from lambda-funciton backed custom resources in AWS CloudFormation
Utility functions for Web Extensions, manifest v2 and v3
Drops undefined arguments from the end of a function call.