Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Escape RegExp special characters
A regular expression to match all Emoji-only symbols as per the Unicode Standard.
Colored symbols for various log levels. Example: `✔︎ Success`
Unicode symbols with fallbacks for older terminals
Generate randomized strings of a specified length using simple character sequences. The original generate-password.
- alpha
- alpha-numeric
- alphanumeric
- characters
- chars
- generate
- generate-password
- numeric
- password
- rand
- random
- randomatic
- randomize
- randomized
Remove final line feeds from a string
A little helper for handling strings containing zero width control characters, ANSI styling, whitespaces, newlines, 💩, etc.
- string width
- string length
- real string width
- real string length
- optical string width
- printed width
- unicode
- codepoints
- code points
- strlen
- zero width
- zero width symbols
- zero width characters
- visible characters
- View more
Returns true if the value passed is all whitespace.
Convert HTML entities to HTML characters, e.g. `>` converts to `>`.
parse string escapes (\n, \r, etc.)
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Like String.trim() but you can choose granularly what to trim
Collapse the leading and trailing whitespace of a string
Map of more than 1,200 diacritics and ligatures to english alphabet equivalents.
Escape RegExp special characters
uppercase first character of a string
Regular expressions for various Unicode character classes extracted from XRegExp
Convert shorthand hex color codes into full
Tells, is given character a part of astral character, specifically, a high and low surrogate
String manipulation functions.