Search results
6000 packages found
Regular expression for matching ANSI escape codes
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
Matches strings against configurable strings, globs, regular expressions, and/or functions
Efficient implementation of Levenshtein algorithm with locale-specific collator support.
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Small footprint URL parser that works seamlessly across Node.js and browser environments
Compile regular expressions' unicodeSets (v) flag.
The string_decoder module from Node core
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
- primitive
- abstract
- ecmascript
- es5
- es6
- es2015
- toPrimitive
- coerce
- type
- object
- string
- number
- boolean
- symbol
- View more
Convert object keys to camel case
Truncate a string to a specific width in the terminal
A robust HTML entities encoder/decoder with full Unicode support.
Check if a string has ANSI escape codes
Determine the East Asian Width of a Unicode character
- unicode
- east-asian-width
- eastasianwidth
- character
- string
- width
- text
- layout
- alignment
- fullwidth
- halfwidth
- ambiguous
- narrow
- wide
- View more
Strip UTF-8 byte order mark (BOM) from a string
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
Indent each line in a string