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
Wordwrap a string with ANSI escape codes
Get a stream as a string, Buffer, ArrayBuffer or array
Strip ANSI escape codes from a string
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Modify strings, generate sourcemaps
Check if the character represented by a given Unicode code point is fullwidth
ANSI escape codes for manipulating the terminal
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
- primitive
- abstract
- ecmascript
- es5
- es6
- es2015
- toPrimitive
- coerce
- type
- object
- string
- number
- boolean
- symbol
- View more
Fastest Levenshtein distance implementation in JS.
- levenshtein
- distance
- fast
- fastest
- edit
- string
- similarity
- algorithm
- match
- comparison
- fuzzy
- search
- matching
- similar
- View more
Strip the final newline character from a string or Uint8Array
ANSI escape codes for styling strings in the terminal
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.
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
Escape RegExp special characters
Slice a string with ANSI escape codes
The string_decoder module from Node core