pkg.land
Beta
string-width

8.1.0

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

Weekly Downloads
236.1M
Last Published

Suggestions

Sort by

stringz

2.1.0

Zero-dependency unicode-aware string tools

496.1K
NPMGitHub

A simple spinner

430.4K

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

144.6M

Remove or replace part of a string like `Array#splice`

1.3K

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

35.5M

unist utility to create a new trees with a nice syntax

2.4M

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

113.6K

Get East Asian Width from a character.

46.1M

Follow for updates

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

@pkgland

📦 🏝