expr-eval
Mathematical expression evaluator
Found 4839 results for function
Mathematical expression evaluator
Sort the keys in an object.
Monkey-patch (hook) functions for debugging and stuff.
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 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.
Get the arguments of a function, arrow function, generator function, async function
Fork a stream in multiple directions according to a 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
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
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
Allows you to bannish some methods or functions.
Fast kernel density estimation library
Converts function to its source code.
reverse the arguments passed to a function.
DJB2a non-cryptographic hash 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).
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
Markdown template helper. Uses remarkable to render markdown in templates. Should work with Handlebars, Lo-Dash or any template engine that supports helper functions.
ESLint rules for functional programming
Get a list of function's argument variable names
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.
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,
Stringifies function's parameters definition
It's noop function. It does nothing.
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.
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
the fastest version of Function#bind I could make
Make an asynchronous function synchronous
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 the nearest value of a discrete periodic function, given a point.
Find how many values of a discrete periodic function are contained in an interval.
Gamma function.
return a throttled function
Exponential function.
Compose an array of middleware into a single function for use in Express, Connect, router, etc.
Convert classes into factory functions so they can be called with or without new.
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
A module for sending responses from lambda-funciton backed custom resources in AWS CloudFormation
Replace text in files using strings, regexs or functions.
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.
Natural exponential function.
Constant 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.
The gaussian (radial basis function) kernel
Fast, generic JavaScript/node.js utility functions.
Round a double-precision floating-point number toward zero.
Fork a stream into multiple streams
Retrieves the value of a specified property from all elements in the collection.
Check if function is an ES6 class.
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
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.
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)
LaunchDarkly Server SDK for JavaScript - common Edge SDK code
Incomplete gamma function.
Compute gamma(x+1) - 1.
Evaluate a factorial.
Renames functions calls, but leaves function definitions unchanged.
Compute exp(x) - 1.
An implementation of the memoize technique
Determine the best order for running async functions, and run them
Function that returns an arbitrary `async function`, or undefined if `async function` syntax is unsupported.
A safe callback to string serializer
Turn a callback-style function into a function that returns a promise
Make configurable canvas easily with Canvafy
Coerce props to custom values
Functional composition library
Inverse complementary error function.
🦅 cli syntax highlighting: any function - any object - 176 languages
Select an attribute of an object based on semver versioning
create a function that can only be invoked once
Validate and format function arguments ( handles types and optionals)
Create javascript functions with optional, default and named paramaters.
Functional multimethod library
Function that returns an arbitrary async generator function, or undefined if async generator syntax is unsupported.
Functional dispatch library
Error helpers library
Compute the binomial coefficient.
Compute the ratio of two gamma functions.
Beta function.
When a function is not enough
Inverse incomplete gamma function.
Incomplete beta function.
Evaluate the signum function for a double-precision floating-point number.
Extract function definitions from an array of GLSL tokens.
Incomplete beta function and its first derivative.
Calculate the Lanczos sum for the approximation of the gamma function.
Ensure a function is only called once. This is a fork of sindresorhus/onetime, but with CommonJS support.
Evaluate ln(1+x) - x.
Get arguments of a function, useful for and used in dependency injectors. Works for regular functions, generator functions and arrow functions.
Rename a function
Function constructor.
determine if a function is a generator function
Get the argument names of a JavaScript function
Easily draw function graphs in text mode.
use function as webpack loader option
Determine a function's name.
Make a function mimic another one. This is a fork of sindresorhus/mimic-fn, but with CommonJS support.
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.
Chained function calls
Frequent default values
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.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Make weak references to JavaScript Objects.
ESLint rules for controlling where and how mutation is used.
Modulus function.
Wraps synchronous functions with a callback-style API
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.
Create a lazily evaluated value
Convert ES6 class constructor to normal function.
Instances of classes which are directly callable as functions.
get a function's source
This is a tiny library for customizing components appearance
This is a tiny library for customizing components appearance
Wraps a function so that it's only ever executed once.
Pass a value through a pipeline of functions
Turns arrays and values into Filtering Functions.
Overloads a function. Makes parameters optional.
An async/await module for sending responses from lambda-funciton backed custom resources in AWS CloudFormation
Qualified Function. Wraps a function so it only gets executed if a condition is true.
Inverse error function.
Gives a wrapper function the properties and string value of its underlying function.
Utility functions for Node.js and JavaScript
Support the Bind Operator
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
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.
Lodash's memoize function, but in a much smaller package than lodash.memoize's.
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.
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
💠 Recursive assign for objects, arrays and more
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.
Function sequencing reloaded
An eslint plugin to enforce method or function name stick to the conventions.
Function.
An ESLint plugin to prevent function declaration after return statement
Compute the natural logarithm of the binomial coefficient.
Node.JS Argon2 password hashing algorithm following the PHC string format
Transforms all internal references to a module's exports such that each reference starts with `module.exports` instead of directly referencing an internal name. This enables easy mocking of specific (exported) functions in Jest with Babel/TypeScript, even
Wraps JavaScript code within an immediately invoked function expression.
Generate a function that returns a constant.
Create a promise that reports progress
Tests whether an JavaScript AST node is likely to be a valid `require` call.
A memoize implementation that only caches the most recent evaluation
Easily define a base path where your serverless functions are located
Test if a value is an array of strings.
Sort an object's keys, including an optional key list
Create a matching function from a glob pattern, regex, string, array, object or function.
A Serverless plugin that makes creation of per function IAM roles easier
A function argument organizer
Validate the api to your functions to help people use them correctly. This is pretty much React's propTypes without React.
Wraps synchronous functions with a cps (callback passing style) function
Node.JS Argon2 password hashing algorithm following the PHC string format
React components for [Stripe.js and Elements](https://stripe.com/docs/stripe-js).
Create a promise that can be canceled. This is a fork of sindresorhus/p-cancelable, but with CommonJS support.
Node.JS bcrypt password hashing algorithm following the PHC string format
[![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
Run AWS step functions offline with Serverless
Filter an object by its keys or values. Returns a copy of an object filtered to have only keys or values that match the given glob patterns.
A collection of utilities for JavaScript functions
A wrapper for AWS's [Step Functions Local](https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html).
Provides an object similar to Function Runtime's context for use in unit testing
A foreign function interface (FFI) for Node.js, N-API style
Create array of functions bound to input arrays.
A foreign function interface (FFI) for Node.js
Stream transform passthrough that calls a function.
Passthrough chunks via a function.
Provide powerful data processing capabilities for handlebars, by adding the ramda function as helpers.
Creates a new function with a bound sequence of arguments. Compliant to 8 arguments.
Easing equations for CSS transitions
Limit the execution rate of any function
Unified API for password hashing algorithms
The fast and furious version of function nodes
Retrieve the function location from it reference in NodeJS.
Serverless devs tool, serverless developer tool, supports Alibaba cloud, AWS, azure, baidu cloud, Huawei cloud, Google cloud and Tencent cloud.
one no-op function to rule them all
Runtime validation types for TypeScript.