pkg.land
Beta
string-width

7.2.0

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

Weekly Downloads
243M
Last Published

Suggestions

Sort by

stringz

2.1.0

Zero-dependency unicode-aware string tools

379.6K
NPMGitHub

A simple spinner

374.1K

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

159.2M

Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

41.7M

unist utility to create a new trees with a nice syntax

3.7M

remark-lint rule to warn when table pipes are not aligned

87.9K

Get East Asian Width from a character.

43.6M

Follow for updates

Keep up-to-date with new features, changelog and more

@pkgland

📦 🏝