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