@nodef/extra-function@0.1.3Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Manipulates JavaScript functions' parameters, timing, and behavior.
Functions
Restrict a function to be used only after a certain number of calls.
Invoke a function with specified this-object, and arguments provided as an array.
Return the arguments passed as a array.
Get the number of parameters of a function.
Attach prefix arguments to leftmost parameters of a function.
Attach suffix arguments to rightmost parameters of a function.
Restrict a function to be used only upto a certain number of calls.
Bind this-object, and optional prefix arguments to a function.
Invoke a function with specified this-object, and arguments provided individually.
Compare two values.
Compose functions together, in applicative order.
Compose functions together, such that result is piped forward.
Contextify a function by accepting the first parameter as this-object.
Generate curried version of a function.
Generate right-curried version of a function.
Generate debounced version of a function.
Generate leading-edge debounced version of a function.
Decontextify a function by accepting this-object as the first argument.
Generate deferred version of a function, that executes after the current stack has cleared.
Generate delayed version of a function.
Return false.
Generate a parameter-reversed version of a function.
Return the same (first) value.
Check if value is a function.
Check if value is an async function.
Check if value is a generator function.
Get the number of parameters of a function.
Generate result-cached version of a function.
Get the name of a function.
Generate a result-negated version of a function.
Do nothing.
Restrict a function to be used only once.
Attach prefix arguments to leftmost parameters of a function.
Attach suffix arguments to rightmost parameters of a function.
Generate restricted-use version of a function.
Restrict a function to be used only after a certain number of calls.
Restrict a function to be used only upto a certain number of calls.
Restrict a function to be used only once.
Generate a parameter-reversed version of a function.
Generate a (first) parameter-spreaded version of a function.
Generate throttled version of a function.
Generate leading-edge throttled version of a function.
Return true.
Generate a (first) parameter-collapsed version of a function.
Interfaces
Invocation control for time/rate-controlled functions.
Type Aliases
Add Package
deno add jsr:@nodef/extra-function
Import symbol
import * as mod from "@nodef/extra-function";
Import directly with a jsr specifier
import * as mod from "jsr:@nodef/extra-function";