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, a year ago6613 dependents licensed under $MIT
1,052,560,774

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

published version 5.0.0, 2 years ago2624 dependents licensed under $MIT
667,712,278

Detect the dominant newline character of a string

published version 4.0.1, 2 years ago1124 dependents licensed under $MIT
164,975,515

Strip the final newline character from a string or Uint8Array

published version 4.0.0, 2 years ago1267 dependents licensed under $MIT
290,306,027

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

published version 2.0.2, 8 months ago787 dependents licensed under $MIT
162,487,497

Character encoding detector

published version 2.1.0, 5 months ago1306 dependents licensed under $MIT
138,454,941

Map of named character references

published version 2.0.2, 3 years ago60 dependents licensed under $MIT
69,720,383

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

published version 5.0.0, 2 years ago522 dependents licensed under $MIT
87,145,945

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

published version 6.1.0, 6 years ago702 dependents licensed under $MIT
71,882,631

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

published version 2.0.1, 4 years ago62 dependents licensed under $MIT
47,635,350

POSIX character classes for creating regular expressions.

published version 1.0.0, 8 years ago645 dependents licensed under $MIT
69,209,811

Check if a character is alphabetical

published version 2.0.1, 4 years ago61 dependents licensed under $MIT
57,665,904

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

published version 3.0.0, 4 years ago56 dependents licensed under $MIT
63,522,996

micromark utility to classify whether a character is whitespace or punctuation

published version 2.0.1, 8 months ago29 dependents licensed under $MIT
44,512,371

Check if a character is decimal

published version 2.0.1, 4 years ago64 dependents licensed under $MIT
55,235,424

Parse HTML character references

published version 4.0.2, 7 months ago95 dependents licensed under $MIT
60,228,625

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

published version 2.0.1, 4 years ago50 dependents licensed under $MIT
56,635,614

Determine the East Asian Width of a Unicode character

published version 1.3.0, 9 months ago56 dependents licensed under $MIT
52,168,542

Count the longest repeating streak of a substring

published version 3.1.0, 3 years ago38 dependents licensed under $MIT
43,632,959

micromark utility to handle character codes

published version 2.1.1, 8 months ago135 dependents licensed under $MIT
60,252,086