Search results
152 packages found
Wraps around an array or string and transforms certain methods into case-insensitive versions.
The Type Conversion Library. Numbers, Strings, Arrays, Maps, Objects, and Iterators.
Defines fallback behavior in case a variable is not a function. Perfect for optional callback parameters.
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.
Wraps around a function and suppresses its errors.
Removes a string from the beginning of another string.
Converts data to JSON if possible, or else returns a fallback value.
Validates and returns a function’s prototype.
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.
Removes a string from the end of another string.
Turns a set of functions into a mix-in/trait that can extend a class.
Extends one class with methods from another.
Checks if an object has a property with a defined getter function.
Wraps a function and caches its return values.
For patching a property descriptor, including replacing getters/setters.