Search results

1000+ packages found

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

published version 5.0.0, 4 years ago2093 dependents licensed under $MIT
207,522,185

Parse JSON with more helpful errors

published version 8.1.0, a year ago1851 dependents licensed under $MIT
201,719,109

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 ago2841 dependents licensed under $MIT
202,631,269

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

published version 3.1.3, 2 years ago2537 dependents licensed under $ISC
171,359,329

Modify strings, generate sourcemaps

published version 0.30.17, 20 days ago2663 dependents licensed under $MIT
127,607,278

Returns true if a string has an extglob.

published version 2.1.1, 8 years ago2289 dependents licensed under $MIT
169,699,599

ANSI escape codes for manipulating the terminal

published version 7.0.0, 8 months ago2629 dependents licensed under $MIT
182,241,985

Slice a string with ANSI escape codes

published version 7.1.0, a year ago1009 dependents licensed under $MIT
159,130,434

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 ago1819 dependents licensed under $MIT
151,731,992

Strip the final newline character from a string or Uint8Array

published version 4.0.0, a year ago1327 dependents licensed under $MIT
162,823,034

Indent each line in a string

published version 5.0.0, 4 years ago1738 dependents licensed under $MIT
141,570,135

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 ago1697 dependents licensed under $MIT
124,815,179

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

published version 3.0.0, 4 years ago1940 dependents licensed under $MIT
130,673,244

Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

published version 1.1.1, 20 days ago1502 dependents licensed under $MIT
113,108,215

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

published version 6.0.0, 3 years ago2054 dependents licensed under $MIT
109,224,471

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

published version 1.3.0, a month ago1346 dependents licensed under $MIT
103,249,169

Querystringify - Small, simple but powerful query string parser.

published version 2.2.0, 4 years ago646 dependents licensed under $MIT
75,685,269

Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).

published version 4.1.3, 3 years ago2532 dependents licensed under $MIT
98,166,276

ES5 spec-compliant shim for String.prototype.trim

published version 1.2.10, 24 days ago789 dependents licensed under $MIT
93,857,106

A robust HTML entities encoder/decoder with full Unicode support.

published version 1.2.0, 6 years ago2324 dependents licensed under $MIT
70,567,795