Search results

1000+ packages found

Measure the difference between two strings using the Levenshtein distance algorithm

published version 4.0.0, 3 years ago1546 dependents licensed under $MIT
117,247,895

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

published version 3.0.0, 6 years ago918 dependents licensed under $MIT
113,248,310

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

published version 2.0.2, 7 years ago854 dependents licensed under $MIT
100,291,410

Generate a cryptographically strong random string

published version 5.0.0, 3 years ago1102 dependents licensed under $MIT
69,431,983

Parse String to Number based on configuration

published version 1.0.5, 3 years ago210 dependents licensed under $MIT
69,418,224

Get the shortest leading whitespace from lines in a string

published version 1.0.1, 5 years ago778 dependents licensed under $MIT
79,110,476

Compile regular expressions' unicodeSets (v) flag.

published version 7.25.9, 2 months ago5 dependents licensed under $MIT
73,333,750

Truncate a string to a specific width in the terminal

published version 4.0.0, a year ago387 dependents licensed under $MIT
92,124,650

Strip redundant indentation and indent the string

published version 4.0.0, 4 years ago880 dependents licensed under $MIT
94,424,594

Generate a unique random string

published version 3.0.0, 4 years ago717 dependents licensed under $MIT
68,755,392

Check if a string has ANSI escape codes

published version 6.0.0, 5 months ago493 dependents licensed under $MIT
56,912,035

Detect the indentation of code

published version 7.0.1, 2 years ago967 dependents licensed under $MIT
64,812,851

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

published version 1.6.1, 8 years ago1041 dependents licensed under $MIT
75,514,661

Trim newlines from the start and/or end of a string

published version 5.0.0, 2 years ago658 dependents licensed under $MIT
61,778,826

Convert object keys to camel case

published version 9.1.3, a year ago1279 dependents licensed under $MIT
67,740,460

Parse regular expressions' unicodeSets (v) flag.

published version 7.18.6, 2 years ago4 dependents licensed under $MIT
65,992,812

A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.

published version 1.5.1, 8 years ago450 dependents licensed under $MIT
45,899,069

Get the visual width of the widest line in a string - the number of columns required to display it

published version 5.0.0, a year ago572 dependents licensed under $MIT
57,547,126

Wildcard matching tools

published version 2.0.1, 2 years ago324 dependents licensed under $MIT
44,876,137

Parse and stringify URL query strings

published version 9.1.1, 2 months ago9292 dependents licensed under $MIT
53,307,972