Terminal string styling done right
Regular expression for matching ANSI escape codes
Strip ANSI escape codes from a string
ANSI escape codes for styling strings in the terminal
Get a stream as a string, Buffer, ArrayBuffer or array
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Wordwrap a string with ANSI escape codes
fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.
Strip UTF-8 byte order mark (BOM) from a string
ANSI escape codes for manipulating the terminal
Indent each line in a string
Slice a string with ANSI escape codes
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).
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
Formats data into a string table.
Wrap words to a specified length.
Check if a string has ANSI escape codes
Convert object keys to camel case
Regular expression for matching IP addresses (IPv4 & IPv6)