emoji-regex
A regular expression to match all Emoji-only symbols as per the Unicode Standard.
A regular expression to match all Emoji-only symbols as per the Unicode Standard.
Escape RegExp special characters
Unicode symbols with fallbacks for older terminals
Colored symbols for various log levels. Example: `✔︎ Success`
Remove final line feeds from a string
Generate randomized strings of a specified length using simple character sequences. The original generate-password.
Returns true if the value passed is all whitespace.
Convert HTML entities to HTML characters, e.g. `>` converts to `>`.
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
parse string escapes (\n, \r, etc.)
Map of more than 1,200 diacritics and ligatures to english alphabet equivalents.
uppercase first character of a string
Collapse the leading and trailing whitespace of a string
Like String.trim() but you can choose granularly what to trim
Regular expressions for various Unicode character classes extracted from XRegExp
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v5.2.0’s categories, scripts, blocks, bidi, and other properties.
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v12.1.0’s categories, scripts, blocks, bidi, and other properties.
Tells, is given character a part of astral character, specifically, a high and low surrogate
A little helper for handling strings containing zero width control characters, ANSI styling, whitespaces, newlines, 💩, etc.
Hiragana and Katana characters from the Japanese language