Search results

1000+ packages found

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
108,336,517

Querystringify - Small, simple but powerful query string parser.

published version 2.2.0, 4 years ago648 dependents licensed under $MIT
74,390,738

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

published version 1.2.0, 6 years ago2330 dependents licensed under $MIT
72,339,644

Normalize a URL

published version 8.0.1, 10 months ago1630 dependents licensed under $MIT
92,475,088

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

published version 1.1.1, a month ago1507 dependents licensed under $MIT
112,744,005

Cleanly split a string by retaining the delimiter.

published version 1.1.0, 5 years ago0 dependents licensed under $MIT
242

Measure the difference between two strings using the Levenshtein distance algorithm

published version 4.0.0, 3 years ago1557 dependents licensed under $MIT
87,528,670

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 ago2534 dependents licensed under $MIT
100,647,004

Returns true if a value exists, false if empty. Works with deeply nested values using object paths.

published version 2.0.2, 7 years ago855 dependents licensed under $MIT
69,956,271

Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

published version 6.0.0, 2 years ago1178 dependents licensed under $MIT
92,720,627

Parse String to Number based on configuration

published version 1.0.5, 3 years ago214 dependents licensed under $MIT
55,887,462

Strip redundant indentation and indent the string

published version 4.0.0, 4 years ago884 dependents licensed under $MIT
69,917,247

Generate a cryptographically strong random string

published version 5.0.0, 3 years ago1105 dependents licensed under $MIT
53,434,415

A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.

published version 3.0.0, 6 years ago920 dependents licensed under $MIT
90,282,401

Lightweight util.format() for the browser.

published version 1.0.4, 5 years ago4 dependents licensed under $MIT
7,207

Strip leading whitespace from each line in a string

published version 4.0.0, 4 years ago1284 dependents licensed under $MIT
87,956,642

Truncate a string to a specific width in the terminal

published version 4.0.0, a year ago388 dependents licensed under $MIT
67,018,221

Compile regular expressions' unicodeSets (v) flag.

published version 7.25.9, 3 months ago5 dependents licensed under $MIT
56,963,558

Small footprint URL parser that works seamlessly across Node.js and browser environments

published version 1.5.10, 3 years ago3099 dependents licensed under $MIT
75,472,277

Repeat the given string n times. Fastest implementation for repeating a string.

published version 1.6.1, 8 years ago1042 dependents licensed under $MIT
52,400,541