A lightweight, easy-to-use **TypeScript string utility library** for formatting, masking, cleaning, and validating text in JavaScript/TypeScript applications.
Get the visual width of a string - the number of columns required to display it
Escape RegExp special characters
A utility package to parse strings
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
A minimal UTF8 implementation for number arrays.
LZ-based compression algorithm
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Strip leading whitespace from each line in a string
Wordwrap a string with ANSI escape codes
Native Access to MacOS FSEvents
Matches strings against configurable strings, globs, regular expressions, and/or functions
A minimal base64 implementation for number arrays.
CLI arguments parser. Native port of python's argparse.
A minimal path module to resolve Unix, Windows and URL paths alike.
Repeat the given string n times. Fastest implementation for repeating a string.
Generate a unique character string suitible for use in files and URLs.
Require module from string
Slice a string with ANSI escape codes
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
Utility to parse a string bytes to bytes and vice-versa