A React component to render formatted strings (bold, italic, links, code, etc.)
Convert html to plain text
A library to textify text
Convert web content to Markdown or JSON from the command line
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
Generates/Applies a structured text representation of a codebase. Includes directory tree, file contents, excludes ignores, optionally scrubs secrets. Useful for LLMs.
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
A minimal UTF8 implementation for number arrays.
LZ-based compression algorithm
Repeat the given string n times. Fastest implementation for repeating a string.
Wordwrap a string with ANSI escape codes
Strip leading whitespace from each line in a string
Native Access to MacOS FSEvents
A minimal base64 implementation for number arrays.
Matches strings against configurable strings, globs, regular expressions, and/or functions
CLI arguments parser. Native port of python's argparse.
A minimal path module to resolve Unix, Windows and URL paths alike.
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.