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