Port of C's wcwidth() and wcswidth()
return the github url from a package.json file
Returns true if a string has an extglob.
extend like a boss
Generate a unique random string
Resolve the path of a module like `require.resolve()` but from a given path
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
JSON parse & stringify that supports binary via bops & base64
Determine if string is an ES2016 keyword.
Helps to prevent widow words in a text
mdast utility to get the plain text content of a node
borderless text tables with alignment
Determine common OS/platform paths (home, temp, ...)
Take an array of string index ranges, delete/replace the string according to them
JSON.parse with bigints support
Parse Postgres interval columns
compare two semver version strings, returning -1, 0, or 1
Trim newlines from the start and/or end of a string
Native OS module API shim for older node.js versions
Unopinionated, no-frills CLI argument parser
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.
Polyfill of future proposal for `util.parseArgs()`
simple persistent cookiejar system
Streaming text decoder that preserves multibyte Unicode characters