Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Strip UTF-8 byte order mark (BOM) from a string
Check if the character represented by a given Unicode code point is fullwidth
Parse JSON with more helpful errors
Get a stream as a string, Buffer, ArrayBuffer or array
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
Slugify a string
- string
- slugify
- slug
- url
- url-safe
- urlify
- transliterate
- transliteration
- deburr
- unicode
- ascii
- text
- decamelize
- pretty
- View more
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
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
Returns true if a string has an extglob.
Matches strings against configurable strings, globs, regular expressions, and/or functions
Strip the final newline character from a string or Uint8Array
Slice a string with ANSI escape codes
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.
Modify strings, generate sourcemaps
Indent each line in a string
Efficient implementation of Levenshtein algorithm with locale-specific collator support.
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow