Search results
506 packages found
Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).
Get the shortest leading whitespace from lines in a string
Hexadecimal utilities
- hex
- hexadecimal
- numerical
- character
- string
- utitilies
- is-hexadecimal
- is-hex
- hexadecimal-to-string
- string-to-hex
- str
- hexyjs
- hexadecimal-utilities
- hex-utilities
- View more
Insert supplied variable values into a format string.
Test if a value is a string.
Iterator over lines in a string
Terminal string styling done right
Ansi codes, figlet fonts, and ascii art. 100% JS
Allocate a buffer containing a provided string.
Test if a value is a regular expression string.
- stdlib
- stdassert
- assertion
- assert
- utils
- util
- utilities
- utility
- isregexp
- regular expression
- regexp
- regex
- regular
- expression
- View more
Convert a string to lowercase.
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Replace search occurrences with a replacement string.
- stdlib
- stdstring
- utilities
- utility
- utils
- util
- base
- string
- str
- search
- replace
- regex
- regular expression
- regexp
- View more
Convert a string to lowercase.
Replace search occurrences with a replacement string.
Generate string from a token array by interpolating values.
Tokenize a string into an array of string parts and format identifier objects.
Convert between POSIX and Windows paths.
Slugs for Mongoose with history and i18n support (uses speakingurl by default, but you can use any slug library such as limax, slugify, mollusc, or slugme)