extend like a boss
Generate a unique random string
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
mdast utility to get the plain text content of a node
JSON parse & stringify that supports binary via bops & base64
borderless text tables with alignment
JSON.parse with bigints support
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.
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
Polyfill of future proposal for `util.parseArgs()`
Streaming text decoder that preserves multibyte Unicode characters
simple persistent cookiejar system
Run a function exactly one time
process.nextTick but always with args
A high-performance wrapper around `Intl.Segmenter` for efficient text segmentation. This class resolves memory handling issues seen with large strings and can enhance performance by 50-500x. Only ~70 loc (with comments) and no dependencies.
A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.
Utility functions for converting to and from URLs that encode query string data into URL paths
URL utilities for markdown-it
Give me a string and I'll tell you if it's a valid npm package license string
The core `url` packaged standalone for use with Browserify.