set-function-name
Set a function's name property
Found 4839 results for function
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
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
JSS plugin for function value and rule syntax
Universal Children Definition for React Components
Set the length of a function.
No-dependencies, low-level, high-performance JIT code generation package for JavaScript
Capture and retrieve the last time a function was run
Run an array of functions in series
Make a synchronous function have a timeout
Reduce function calls in a string, using a callback
Use the gray() color function in CSS
Type checking for JavaScript functions
Validates if a value is a function.
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
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.
TypeScript implementation of debounce
check if an AST node is a function of some sort
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)
Check if function is an ES6 class.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
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
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
Allows you to bannish some methods or functions.
Provides a list of reserved identifiers for JavaScript
Fast kernel density estimation library
Converts function to its source code.
reverse the arguments passed to a function.
Create a lazy promise that defers execution until it's awaited or when `.then()`, `.catch()`, or `.finally()` is called
Function name shim (especially for supporting function names in Internet Explorer).
Markdown template helper. Uses remarkable to render markdown in templates. Should work with Handlebars, Lo-Dash or any template engine that supports helper functions.
Checks if the given value is a native function.
Check if a string is a valid JavaScript identifier
Make weak references to JavaScript Objects.
FNV-1a non-cryptographic hash function
DJB2a non-cryptographic hash function
ESLint rules for functional programming
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.
Run an array of functions in series, each passing its results to the next function (waterfall)
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.
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
the fastest version of Function#bind I could make
commitlint plugin to use functions as rule value
JavaScript function overloading framework.
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.
return a throttled function
Exponential 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
Replace text in files using strings, regexs or functions.
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
Call a module's exported functions directly from the command line, with arguments.
AWS Lambda mock context object
Flex JWE Token Validator
Return a value or an evaluated function (with arguments).
Function parameter decorator transform plugin for babel v7, just like typescript.
Constant function.
Natural exponential function.
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.
Round a double-precision floating-point number toward zero.
The gaussian (radial basis function) kernel
Fork a stream into multiple streams
Check if function is an ES6 class.
Retrieves the value of a specified property from all elements in the collection.
A pipe function to perform function composition in LTR (Left To Right) direction.
Currying in javascript. Like .bind() without also setting `this`.
Clones a function (creates wrapper function), with the same signature as source function
Complementary error function.
grab bag of easing equations
converts callback-based functions to Promises and apply currying to arguments
Calculate a scaled Lanczos sum for the approximation of the gamma function.
Natural logarithm of the gamma function.
Flatten a function's argument. Like, really flatten
Evaluate bˣ - 1.
because i get tired of typing EE.prototype.emit.bind.bind(EE.prototype.emit)
Incomplete gamma function.
Compute gamma(x+1) - 1.
Evaluate a factorial.
Renames functions calls, but leaves function definitions unchanged.
Compute exp(x) - 1.
LaunchDarkly Server SDK for JavaScript - common Edge SDK code
An implementation of the memoize technique
Determine the best order for running async functions, and run them
A safe callback to string serializer
Function that returns an arbitrary `async function`, or undefined if `async function` syntax is unsupported.
Turn a callback-style function into a function that returns a promise
Make configurable canvas easily with Canvafy
Functional composition library
Coerce props to custom values
Inverse complementary error function.
🦅 cli syntax highlighting: any function - any object - 176 languages
create a function that can only be invoked once
Validate and format function arguments ( handles types and optionals)
Functional multimethod library
Error helpers library
Functional dispatch library
Function that returns an arbitrary async generator function, or undefined if async generator syntax is unsupported.
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
Inverse incomplete gamma function.
Incomplete beta function.
Extract function definitions from an array of GLSL tokens.
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.
Evaluate ln(1+x) - x.
Function constructor.
Get arguments of a function, useful for and used in dependency injectors. Works for regular functions, generator functions and arrow functions.
determine if a function is a generator function
Get the argument names of a JavaScript function
Ensure a function is only called once. This is a fork of sindresorhus/onetime, but with CommonJS support.
Easily draw function graphs in text mode.
Determine a function's name.
use function as webpack loader option
Make a function mimic another one. This is a fork of sindresorhus/mimic-fn, but with CommonJS support.
Rename a 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.
Inverse incomplete beta function.
Frequent default values
Chained function calls
Detect native function name support.
Strips javascript code blocks out of README (or any other markdown) files and converts them into function objects.
Get the hash of a string
Validate the type of arguments passed through the function.
A foreign function interface (FFI) for Node.js, N-API style
Tap into a promise chain without affecting its value or state
Return a function which tests if every element in an array-like object passes a test condition.
Parse function arguments. Useful to implement variadic functions.
Make weak references to JavaScript Objects.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
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.
Convert ES6 class constructor to normal function.
Instances of classes which are directly callable as functions.
get a function's source
Sorting and matching utility using configurable string, glob, regular expression, and/or function matchers
Create a lazily evaluated value
Overloads a function. Makes parameters optional.
Wraps a function so that it's only ever executed once.
Pass a value through a pipeline of functions
This is a tiny library for customizing components appearance
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
Turns arrays and values into Filtering Functions.
Gives a wrapper function the properties and string value of its underlying function.
An async/await module for sending responses from lambda-funciton backed custom resources in AWS CloudFormation
Support the Bind Operator
A utility function to detect if a string should be wrapped in quotes to work as an object key
Inverse error function.
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.
Utility functions for Web Extensions, manifest v2 and v3
Drops undefined arguments from the end of a function call.
Execute functions in a configurable order, modifying a shared data structure.
Defines fallback behavior in case a variable is not a function. Perfect for optional callback parameters.
Lodash's memoize function, but in a much smaller package than lodash.memoize's.
Creates a variadic function, with a “rest parameter” that’s NOT at the end.
[![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
Natural logarithm of the beta function.
Memoized function binding
Batch multiple function calls into a single one
Evaluate the natural logarithm of the factorial function.
Inverse incomplete beta function.
Retrieves parameter names from a function
SDBM non-cryptographic hash 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.
💠 Recursive assign for objects, arrays and more
An eslint plugin to enforce method or function name stick to the conventions.
Function.
Function sequencing reloaded
An ESLint plugin to prevent function declaration after return statement
Compute the natural logarithm of the binomial coefficient.