Search results

187 packages found

Check if a character is decimal

published version 2.0.1, 4 years ago86 dependents licensed under $MIT
46,597,424

Check if a character is alphabetical

published version 2.0.1, 4 years ago84 dependents licensed under $MIT
46,692,514

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

published version 2.0.1, 4 years ago75 dependents licensed under $MIT
38,796,698

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

published version 2.0.0, 4 years ago52 dependents licensed under $MIT
17,382,133

Check if a character is hexadecimal

published version 2.0.1, 4 years ago80 dependents licensed under $MIT
45,995,998

Check if a character is alphanumerical

published version 2.0.1, 4 years ago83 dependents licensed under $MIT
46,588,046

Check if a character is a whitespace character

published version 2.0.1, 4 years ago71 dependents licensed under $MIT
9,030,323

Check if a character is a word character

published version 2.0.1, 4 years ago56 dependents licensed under $MIT
9,011,096

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

published version 1.0.1, 8 years ago139 dependents licensed under $MIT
3,805,031

Unicode-aware JS string splitting, typescript version

published version 1.1.4, a year ago27 dependents licensed under $MIT
629,109

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

published version 3.2.0, 4 years ago35 dependents licensed under $MIT
605,475

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

published version 1.0.1, 11 years ago73 dependents licensed under $ISC
1,026,651

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

published version 4.1.0, 4 years ago67 dependents licensed under $MIT
264,804

Detect and Normalize the newline characters

published version 1.0.20, a year ago51 dependents licensed under $ISC
541,393

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

published version 0.1.2, 11 years ago1 dependents
53,200

Return a random character.

published version 1.0.4, 9 years ago7 dependents licensed under $MIT
61,528

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

published version 1.1.0, 9 years ago4 dependents licensed under $MIT
35,424

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

published version 1.1.0, a year ago10 dependents licensed under $MIT
33,907

Unicode character information library.

published version 0.3.5, a year ago4 dependents licensed under $MIT
24,860

Get the code points of each character in the string

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