Get the visual width of a string - the number of columns required to display it
Get the visual width of a string - the number of columns required to display it
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
mdast utility to get the plain text content of a node
Wordwrap a string with ANSI escape codes
A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.
Repeat the given string n times. Fastest implementation for repeating a string.
Modify strings, generate sourcemaps
Get the visual width of the widest line in a string - the number of columns required to display it
A fast function for calculating the visual width of a string once printed to the terminal.
Utility to parse a string bytes to bytes and vice-versa
Require module from string
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Resolve the path of a module like `require.resolve()` but from a given path
Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible
A minimal UTF8 implementation for number arrays.
Get the command from a shebang
JavaScript sprintf implementation
Returns true if a string has an extglob.
A minimal path module to resolve Unix, Windows and URL paths alike.
A minimal base64 implementation for number arrays.
align-text with ANSI support for CLIs
HTTP request logger middleware for node.js
Matches strings against configurable strings, globs, regular expressions, and/or functions