Return `true` if a string ends with the given characters.
MIT License
Like other checkers, returns true if `value` is falsey. Strings, arrays and `arguments` objects w...
Run multiple regex or string find-and-replace transformations on a string in sequence, reducing t...
Strip a byte order mark (BOM) from a string.
Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.
Returns true if the given string or array begins with any of the given substrings.
Return `true` if a file path ends with the given string.
Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.
Returns true if regular expression A is equal to regex B. Compares the expression and flags.
Filter an array or arguments by JavaScript native type (e.g. functions, strings, etc).
Get the index of the first element in an array that returns truthy for the given value, using str...
Returns the symmetric difference (exclusive-or) of an array of elements (elements that are presen...
Checks if the callback returns a truthy value for any element in a collection, or for any sub-str...
Strip 'use strict' statements from a string of javascript.
Returns true if the callback returns truthy for all elements in the given array.
Trim leading lines from a string when they are 100% whitespace or empty. Indentation is left unha...