Glossary π
Last updated
Was this helpful?
Last updated
Was this helpful?
Below are sectioned descriptions and code usages of each implemented Common Utility. Read more about each common utility within each package's README!
is a common function that take the output from one function and automatically patches it to the input of the next function until it spits out the final value.
Compose is useful for computing a series of functions in a composed fashion improving code readability and testability.
Usage
is a common function for return the value of the first item in an Array.
Usage
is a common function that take the output from one function and automatically patches it to the input of the next function until it spits out the final value in the opposite order of Compose.
Like compose, Pipe is useful for computing a series of functions in a composed fashion improving code readability and testability but in the opposite order of Compose.
Usage
Repeat is useful for declaritively performing a while loop, making it more testable.
Usage
Filter is useful for ensuring an array is exact.
Usage
Is object is useful for determining that an object is an object and not an array.
Usage
isArray
isOfObjectType
isObject
Merge Objects is useful for merging objects with nested object and/or array properties.
Usage
String Interpolation is useful for adding dynamic data to strings.
Usage
Kebab to Camel String is useful for switching objects from kebab case to camel case which is more usable in JavaScript.
Usage
Trim-whitespace is useful for removing extra spaces from inputed strings.
Usage
Wait-until-defined is useful for waiting until some data type is defined.
Usage
Debounce is useful for ensuring that a function invocation doesn't happen too frequently.
Usage
No cruft. No bloat. No dependencies.
Simple, typed, functional, documented, and tested javascript utility functions.
is a common function composed of function arguments which recursively invoke a callback function based on iterations returning a final value.
is a common function a common function that removes deplicate items from an array.
is a common function for knowings whether data is of Object type. This function comes with isArray
and isOfObjectTypes
helper methods.
is a common function for merging two objects deeply.
is a common function for interpolating variables in strings.
is a common function for returning a kebab string as a camel string.
is a common function for returning a string with trimmed text.
is a common function for waiting until data is defined via a callback which returns a boolean.
is a common function that waits a set amount of time before invoking a callback.
View other on Github.