A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.
A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.
A fast function for calculating the visual width of a string once printed to the terminal.
Efficient implementation of Levenshtein algorithm with locale-specific collator support.
Parse HTTP Content-Type header according to RFC 7231
Fast deep equal
Stringify your JSON at max speed
Dependency-free RFC 3986 URI toolbox
A fast alternative to legacy querystring module
deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify
fs read and write streams based on minipass
A fast way to split small-to-medium sized strings by small string delimiters
Fast and safe decodeURIComponent
Parse json safely and at max speed
fs read and write streams based on minipass
A replacement for process.exit that ensures stdio are fully drained before exiting.
Fix up the end of a partial JSON string to create valid JSON.
Big-friendly JSON. Asynchronous streaming functions for large JSON data sets.
[![][npm-badge]][npm-url] [![][travis-badge]][travis-url]
Computes truncated exponential backoff intervals with jitter
Fastest memoization lib that supports N arguments
Compare alphanumeric strings the same way a human would, using a natural order algorithm
Validate XML, Parse XML, Build XML without C/C++ based libraries
Fastest stable deterministic JSON.stringify()