Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
emoji-regex
A regular expression to match all Emoji-only symbols as per the Unicode Standard.
escape-string-regexp
Escape RegExp special characters
log-symbols
Colored symbols for various log levels. Example: `✔︎ Success`
figures
Unicode symbols with fallbacks for older terminals
randomatic
Generate randomized strings of a specified length using simple character sequences. The original generate-password.
trim-trailing-lines
Remove final line feeds from a string
printable-characters
A little helper for handling strings containing zero width control characters, ANSI styling, whitespaces, newlines, 💩, etc.
is-whitespace
Returns true if the value passed is all whitespace.
unescape
Convert HTML entities to HTML characters, e.g. `>` converts to `>`.
unicode-byte-truncate
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
backslash
parse string escapes (\n, \r, etc.)
string-trim-spaces-only
Like String.trim() but you can choose granularly what to trim
diacritics-map
Map of more than 1,200 diacritics and ligatures to english alphabet equivalents.
string-collapse-leading-whitespace
Collapse the leading and trailing whitespace of a string
@stream-io/escape-string-regexp
Escape RegExp special characters
ucfirst
uppercase first character of a string
unicoderegexp
Regular expressions for various Unicode character classes extracted from XRegExp
string-character-is-astral-surrogate
Tells, is given character a part of astral character, specifically, a high and low surrogate
color-shorthand-hex-to-six-digit
Convert shorthand hex color codes into full
@stdlib/string
String manipulation functions.