Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Truncate a string to a specific width in the terminal
ES5 spec-compliant shim for String.prototype.trim
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.
Generate a unique random string
Querystringify - Small, simple but powerful query string parser.
Compile regular expressions' unicodeSets (v) flag.
Trim newlines from the start and/or end of a string
Detect the indentation of code
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Strip redundant indentation and indent the string
Parse String to Number based on configuration
Get the shortest leading whitespace from lines in a string
Small footprint URL parser that works seamlessly across Node.js and browser environments
Generate a cryptographically strong random string
Simple, light-weight assertions framework for javascript
Get the visual width of the widest line in a string - the number of columns required to display it
Repeat the given string n times. Fastest implementation for repeating a string.
Convert object keys to camel case
A robust & optimized `String.prototype.repeat` polyfill, based on the ECMAScript 6 specification.