Search results
6000 packages found
The string_decoder module from Node core
Escape RegExp special characters
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Functions for dealing with a PostgresSQL connection string
Spec-compliant polyfill for String.prototype.replaceAll ESnext proposal
Regular expression for matching ANSI escape codes
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
mdast utility to get the plain text content of a node
Efficient implementation of Levenshtein algorithm with locale-specific collator support.
Parse String to Number based on configuration
Parse and stringify URL query strings
Strip UTF-8 byte order mark (BOM) from a string
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
Normalize a URL
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
- pretty
- prettify
- human
- humanize
- humanized
- readable
- time
- ms
- milliseconds
- duration
- period
- range
- text
- string
- View more
Truncate a string to a specific width in the terminal
Converts RDF/JS Terms, Quads and Datasets to N-Triple strings
Small footprint URL parser that works seamlessly across Node.js and browser environments