Search results

187 packages found

Check if a character is decimal

published version 2.0.1, 3 years ago83 dependents licensed under $MIT
37,162,543

Check if a character is alphabetical

published version 2.0.1, 3 years ago81 dependents licensed under $MIT
37,266,336

Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz

published version 2.0.0, 4 years ago52 dependents licensed under $MIT
18,373,658

Check if a character is hexadecimal

published version 2.0.1, 3 years ago77 dependents licensed under $MIT
36,426,642

Count how often a character (or substring) is used in a string

published version 2.0.1, 3 years ago67 dependents licensed under $MIT
31,186,910

Check if a character is alphanumerical

published version 2.0.1, 3 years ago80 dependents licensed under $MIT
37,175,341

Check if a character is a whitespace character

published version 2.0.1, 3 years ago71 dependents licensed under $MIT
9,237,562

Check if a character is a word character

published version 2.0.1, 3 years ago56 dependents licensed under $MIT
9,190,331

Convert HTML entities to HTML characters, e.g. `>` converts to `>`.

published version 1.0.1, 8 years ago139 dependents licensed under $MIT
3,490,356

Unicode-aware JS string splitting, typescript version

published version 1.1.4, a year ago24 dependents licensed under $MIT
542,428

Colorized string diff ideal for text/code that spans through multiple lines

published version 3.2.0, 4 years ago34 dependents licensed under $MIT
510,520

Put a little spinner on process.stderr, as unobtrusively as possible.

published version 1.0.1, 11 years ago73 dependents licensed under $ISC
702,531

Normalize the newline characters in a string to `\n`

published version 4.1.0, 4 years ago68 dependents licensed under $MIT
216,994

Count the lines in a string, works with windows carriage returns or unix style newlines.

published version 0.1.2, 10 years ago1 dependents
84,247

Detect and Normalize the newline characters

published version 1.0.20, a year ago51 dependents licensed under $ISC
151,702

Get a UTF-16-encoded code point number of a character

published version 1.1.0, 9 years ago4 dependents licensed under $MIT
53,413

Micro-library to split a DOM element's words & chars into elements populated with CSS vars.

published version 1.1.0, 6 months ago9 dependents licensed under $MIT
50,959

Return a random character.

published version 1.0.4, 9 years ago7 dependents licensed under $MIT
49,312

Unicode character information library.

published version 0.3.5, 5 months ago4 dependents licensed under $MIT
23,023

Get the code points of each character in the string

published version 2.0.0-1, 6 years ago8 dependents licensed under $MIT
16,759