Show HN: wcwidth-o1 – Find Unicode text cell width in no time for JavaScript/TS

14 pointsposted 14 hours ago
by dawson0

3 Comments

jv22222

11 hours ago

I was about to say you could figure this kind of thing out with Intl.Segmenter but then saw it was a different problem. Nice.

shawn_w

9 hours ago

Now you just have to update it to the just-released Unicode 17.