Search results

1000+ packages found

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

published version 7.2.0, 5 months ago6527 dependents licensed under $MIT
777,044,176

Check if the character represented by a given Unicode code point is fullwidth

published version 5.0.0, a year ago2675 dependents licensed under $MIT
524,000,096

Strip the final newline character from a string or Uint8Array

published version 4.0.0, a year ago1318 dependents licensed under $MIT
221,883,344

Detect the dominant newline character of a string

published version 4.0.1, a year ago1199 dependents licensed under $MIT
115,592,863

Character encoding detector

published version 2.0.0, a year ago1381 dependents licensed under $MIT
108,482,858

A regex to match any full character, considering weird character ranges.

published version 2.0.2, 17 days ago810 dependents licensed under $MIT
110,476,316

POSIX character classes for creating regular expressions.

published version 1.0.0, 8 years ago798 dependents licensed under $MIT
62,552,266

Map of named character references

published version 2.0.2, 2 years ago76 dependents licensed under $MIT
47,129,658

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 ago570 dependents licensed under $MIT
63,403,780

Easy way to split a string on a given character unless it's quoted or escaped.

published version 6.1.0, 6 years ago857 dependents licensed under $MIT
64,296,185

Check if a character is alphabetical

published version 2.0.1, 3 years ago81 dependents licensed under $MIT
37,329,590

micromark utility to handle character codes

published version 2.1.1, 25 days ago115 dependents licensed under $MIT
39,008,384

Check if a character is alphanumerical

published version 2.0.1, 3 years ago80 dependents licensed under $MIT
37,239,989

Parse HTML character references

published version 4.0.1, 2 years ago108 dependents licensed under $MIT
38,781,297

Map of invalid numeric character references to their replacements, according to HTML

published version 2.0.1, 3 years ago69 dependents licensed under $MIT
36,449,023

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,130,217

Count the longest repeating streak of a substring

published version 3.1.0, 2 years ago39 dependents licensed under $MIT
29,218,861

micromark utility to classify whether a character is whitespace or punctuation

published version 2.0.1, 25 days ago28 dependents licensed under $MIT
28,197,035

List of legacy HTML named character references that don’t need a trailing semicolon

published version 3.0.0, 3 years ago74 dependents licensed under $MIT
40,870,244

Determine the East Asian Width of a Unicode character

published version 1.3.0, 2 months ago25 dependents licensed under $MIT
33,041,324