Showing 1-20 of 381,231 packages
Get the visual width of a string - the number of columns required to display it
A utility package to parse strings
Escape RegExp special characters
Indent each line in a string
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Modify strings, generate sourcemaps
Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Repeat the given string n times. Fastest implementation for repeating a string.
Native Access to MacOS FSEvents
Wordwrap a string with ANSI escape codes
Utility to parse a string bytes to bytes and vice-versa
A minimal UTF8 implementation for number arrays.
Require module from string
CLI arguments parser. Native port of python's argparse.
Slice a string with ANSI escape codes
Strip leading whitespace from each line in a string
LZ-based compression algorithm
Strip redundant indentation and indent the string
Port of C's wcwidth() and wcswidth()