Search results
511 packages found
Get the shortest leading whitespace from lines in a string
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).
Insert supplied variable values into a format string.
Test if a value is a string.
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.
Replace search occurrences with a replacement string.
- stdlib
- stdstring
- utilities
- utility
- utils
- util
- base
- string
- str
- search
- replace
- regex
- regular expression
- regexp
- View more
Terminal string styling done right
Replace search occurrences with a replacement string.
Convert a string to lowercase.
Regular expression matching for URL's. Maintained, safe, and browser-friendly version of url-regex. Resolves CVE-2020-7661. Works in Node v10.12.0+ and browsers.
Util.format-like string formatting utility.
- anolilab
- fmt
- format
- formatter
- formatting
- quick-format-unescaped
- str
- string
- string-format
- util
- util.format
- visulima
Convert between POSIX and Windows paths.
Generate string from a token array by interpolating values.
Tokenize a string into an array of string parts and format identifier objects.
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 uppercase.
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Convert number to a human readable string: `13500` → `13.5K`