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, 9 months ago6620 dependents licensed under $MIT
809,198,819

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

published version 5.0.0, a year ago2752 dependents licensed under $MIT
518,344,496

Detect the dominant newline character of a string

published version 4.0.1, 2 years ago1222 dependents licensed under $MIT
120,083,187

Strip the final newline character from a string or Uint8Array

published version 4.0.0, a year ago1359 dependents licensed under $MIT
240,050,547

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

published version 2.0.2, 4 months ago841 dependents licensed under $MIT
124,613,436

Character encoding detector

published version 2.1.0, a month ago1415 dependents licensed under $MIT
106,028,260

Map of named character references

published version 2.0.2, 3 years ago79 dependents licensed under $MIT
54,837,119

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 ago589 dependents licensed under $MIT
64,890,717

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

published version 2.0.1, 3 years ago69 dependents licensed under $MIT
36,717,997

micromark utility to classify whether a character is whitespace or punctuation

published version 2.0.1, 5 months ago32 dependents licensed under $MIT
36,165,181

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

published version 3.0.0, 3 years ago75 dependents licensed under $MIT
49,493,341

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

published version 6.1.0, 6 years ago861 dependents licensed under $MIT
47,174,910

Check if a character is decimal

published version 2.0.1, 3 years ago84 dependents licensed under $MIT
44,101,198

micromark utility to handle character codes

published version 2.1.1, 5 months ago130 dependents licensed under $MIT
49,930,556

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

published version 2.0.1, 3 years ago70 dependents licensed under $MIT
43,466,803

Check if a character is alphabetical

published version 2.0.1, 3 years ago82 dependents licensed under $MIT
44,190,888

Parse HTML character references

published version 4.0.2, 4 months ago109 dependents licensed under $MIT
46,090,884

POSIX character classes for creating regular expressions.

published version 1.0.0, 8 years ago803 dependents licensed under $MIT
45,053,943

Check if a character is alphanumerical

published version 2.0.1, 3 years ago81 dependents licensed under $MIT
44,091,835

Determine the East Asian Width of a Unicode character

published version 1.3.0, 6 months ago49 dependents licensed under $MIT
42,485,365