sindresorhus/
Get the visual width of a string - the number of columns required to display it
USD raised
Recent activities
Usage of Intl.Segmenter() breaks on Firefox
SyntaxError: Invalid regular expression flags due to /v regex flag in older Node.js environments
Performance: 22% smaller, 6–142x faster
TypeError when string contains certain Unicode Format characters
Unqulified emojis should take `ambiguousAsWide` into count
Should "heart on fire" without VS16 count width of 2?
More tests needed
there's zwnj too
Swap emoji-regex with emoji-regex-xs for smaller bundle size
OSC8 hyperlinks are not supported
Exploring upstreaming "fast-string-width"
Some characters do false-positively count as 2 while occupying 1 column in terminal
Japanese half-width kana dakuten(゙) and han-dakuten(゚) are not counted.
Great for 🦄 but it hates 🏳️🌈 :)
v5 breaks `yarn install` when it is used indirectly by `lerna`
Breaking change in v2.1
Some full-width characters are not included
tabulation returns with zero
can not import in node environment
thai combining charactern not working
Handling text variation selector
Only being able to use in nestjs with peerDependencies
zwj codepoints, skin tones, families, and kisses
Default value for the `ambiguousIsNarrow` option
Package upgrade backport to 3.x.x
Add option to let users decide if ambiguous width characters should be 1 or 2 in width
Can't require package (v5.0.1)
Use `Intl.Segmenter` when available?
Can't require package in Node v14
Update strip-ansi in 4.2 to address CVE
© 2019 BoostIO, Inc.