Generate a unique character string suitible for use in files and URLs.
Strip redundant indentation and indent the string
Utility to parse a string bytes to bytes and vice-versa
Require module from string
Create an ArrayBuffer instance from a Data URI string
Promisifies all the selected functions in an object
Returns true if a string has an extglob.
Get the command from a shebang
return the github url from a package.json file
Port of C's wcwidth() and wcswidth()
mdast utility to get the plain text content of a node
Generate a unique random string
extend like a boss
borderless text tables with alignment
JSON parse & stringify that supports binary via bops & base64
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
Resolve the path of a module like `require.resolve()` but from a given path
JSON.parse with bigints support
Trim newlines from the start and/or end of a string
A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset of both ansi and vt100. All control codes included work on both Windows & Unix-like OSes, except where noted.
compare two semver version strings, returning -1, 0, or 1
Run a function exactly one time
Streaming text decoder that preserves multibyte Unicode characters
Parse Postgres interval columns