The Type Conversion Library. Numbers, Strings, Arrays, Maps, Objects, and Iterators.
Tests a value’s type against a string like 'positive integer' or 'non-empty map'.
Performs a multi-level three-way comparison on numbers/strings and returns 1, 0, or -1.
Uses one or more keys to locate and set a value in a Map, Object, or other keyed collection. Supports nesting, loose key matching, and more.
Creates an Object from a collection of key-value pairs or key-descriptor pairs.
Custom ESLint configuration. Extends Standard.
Converts data to JSON if possible, or else returns a fallback value.
Applies a callback to each key-value pair of a Map or Object.
For patching a property descriptor, including replacing getters/setters.
Wraps around a function and suppresses its errors.
Returns a copy of a Map object containing only those entries which pass a test function.
Wraps a function and caches its return values.
Validates and returns a function’s prototype.
Extends one class with methods from another.
Returns an object’s class and its ancestors.
Returns true if an array has duplicate elements or a string has duplicate characters.
For a given class, returns an array with its parent class, the parent’s parent, and so on.
Returns the index of the first instance; when called a second time, returns the index of the second instance; and so on. Works with arrays and strings.
Remove duplicate array elements or string characters.
Checks that specific array elements or string characters appear only in a certain order.
Wraps around an array or string and transforms certain methods into case-insensitive versions.
Defines fallback behavior in case a variable is not a function. Perfect for optional callback parameters.
Removes a string from the beginning of another string.
Checks if an object has a property with a defined setter function.
Checks if an object has a property with a defined getter function.