wcwidth
Port of C's wcwidth() and wcswidth()
simple-wcswidth
Simplified JS/TS implementation of wcswidth() written by Markus Kuhn in C
varsize-string
A package for working with strings where the different characters have different sizes.
wcsize
Derived from visualwidth-js this package identifies the size of one characterCode in terminals