Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
string-width
Get the visual width of a string - the number of columns required to display it
is-fullwidth-code-point
Check if the character represented by a given Unicode code point is fullwidth
strip-final-newline
Strip the final newline character from a string or Uint8Array
detect-newline
Detect the dominant newline character of a string
char-regex
A regex to match any full character, considering weird character ranges.
chardet
Character encoding detector
widest-line
Get the visual width of the widest line in a string - the number of columns required to display it
character-entities
Map of named character references
character-entities-legacy
List of legacy HTML named character references that don’t need a trailing semicolon
split-string
Easy way to split a string on a given character unless it's quoted or escaped.
parse-entities
Parse HTML character references
is-decimal
Check if a character is decimal
posix-character-classes
POSIX character classes for creating regular expressions.
get-east-asian-width
Determine the East Asian Width of a Unicode character
ccount
Count how often a character (or substring) is used in a string
micromark-util-classify-character
micromark utility to classify whether a character is whitespace or punctuation
micromark-util-character
micromark utility to handle character codes
is-alphabetical
Check if a character is alphabetical
micromark-util-decode-numeric-character-reference
micromark utility to decode numeric character references
character-reference-invalid
Map of invalid numeric character references to their replacements, according to HTML