Search results
6000 packages found
ES5 spec-compliant shim for String.prototype.trim
Terminal string styling done right
Get the visual width of a string - the number of columns required to display it
Get a stream as a string, Buffer, ArrayBuffer or array
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
- primitive
- abstract
- ecmascript
- es5
- es6
- es2015
- toPrimitive
- coerce
- type
- object
- string
- number
- boolean
- symbol
- View more
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Strip ANSI escape codes from a string
Wordwrap a string with ANSI escape codes
Modify strings, generate sourcemaps
ANSI escape codes for manipulating the terminal
Strip the final newline character from a string or Uint8Array
ES2017 spec-compliant String.prototype.padEnd shim.
- String.prototype.padRight
- String.prototype.padEnd
- string
- ES2017
- ES8
- shim
- trim
- padLeft
- padRight
- padStart
- padEnd
- polyfill
- es-shim API
A robust & optimized `String.fromCodePoint` polyfill, based on the ECMAScript 6 specification.
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Fastest Levenshtein distance implementation in JS.
- levenshtein
- distance
- fast
- fastest
- edit
- string
- similarity
- algorithm
- match
- comparison
- fuzzy
- search
- matching
- similar
- View more
ES2017 spec-compliant String.prototype.padStart shim.
- String.prototype.padLeft
- String.prototype.padStart
- string
- ES8
- ES2017
- shim
- trim
- padLeft
- padRight
- padStart
- padEnd
- polyfill
- es-shim API
The string_decoder module from Node core
ANSI escape codes for styling strings in the terminal
Check if the character represented by a given Unicode code point is fullwidth
Parse JSON with more helpful errors