Search results

1000+ packages found

Strip UTF-8 byte order mark (BOM) from a string

published version 5.0.0, 4 years ago2099 dependents licensed under $MIT
206,690,202

Check if the character represented by a given Unicode code point is fullwidth

published version 5.0.0, a year ago2704 dependents licensed under $MIT
348,558,100

Parse JSON with more helpful errors

published version 8.1.0, a year ago1855 dependents licensed under $MIT
192,814,451

Get a stream as a string, Buffer, ArrayBuffer or array

published version 9.0.1, 10 months ago2552 dependents licensed under $MIT
318,681,043

Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`

published version 8.0.0, a year ago7280 dependents licensed under $MIT
260,735,471

Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.

published version 3.1.0, a month ago2021 dependents licensed under $MIT
209,459,409

Slugify a string

published version 2.2.1, 2 years ago519 dependents licensed under $MIT
4,221,516

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

published version 4.0.3, 3 years ago2849 dependents licensed under $MIT
195,131,360

ANSI escape codes for manipulating the terminal

published version 7.0.0, 9 months ago2630 dependents licensed under $MIT
173,662,689

ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.

published version 1.3.0, 2 months ago1347 dependents licensed under $MIT
104,136,650

Returns true if a string has an extglob.

published version 2.1.1, 8 years ago2294 dependents licensed under $MIT
169,366,653

Matches strings against configurable strings, globs, regular expressions, and/or functions

published version 3.1.3, 2 years ago2544 dependents licensed under $ISC
171,453,295

Strip the final newline character from a string or Uint8Array

published version 4.0.0, a year ago1328 dependents licensed under $MIT
159,268,498

Slice a string with ANSI escape codes

published version 7.1.0, a year ago1006 dependents licensed under $MIT
157,087,048

Compare strings containing a mix of letters and numbers in the way a human being would in sort order.

published version 1.4.0, 8 years ago1703 dependents licensed under $MIT
119,543,095

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.

published version 1.2.1, 5 years ago1822 dependents licensed under $MIT
152,510,250

Modify strings, generate sourcemaps

published version 0.30.17, a month ago2687 dependents licensed under $MIT
121,806,531

Indent each line in a string

published version 5.0.0, 4 years ago1739 dependents licensed under $MIT
133,634,838

Efficient implementation of Levenshtein algorithm with locale-specific collator support.

published version 3.0.0, 4 years ago1946 dependents licensed under $MIT
131,471,428

Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow

published version 6.0.0, 3 years ago2056 dependents licensed under $MIT
104,702,644