Skip to content

feat: add string-width to preferred manifest#225

Merged
43081j merged 1 commit intomainfrom
widthlings
Aug 27, 2025
Merged

feat: add string-width to preferred manifest#225
43081j merged 1 commit intomainfrom
widthlings

Conversation

@43081j
Copy link
Contributor

@43081j 43081j commented Aug 4, 2025

Adds string-width since the fast-string-width fork is much faster.

Adds `string-width` since the `fast-string-width` fork is much faster.
@MichaelDeBoey
Copy link

Should we add fast-string-width as an alternative of unicode-string-width as well?

@43081j
Copy link
Contributor Author

43081j commented Aug 4, 2025

if you mean the one by cometkim:
https://github.com/cometkim/unicode-string-width

it doesn't seem he has published it on npm (yet?)

but it does roughly a similar job to fast-string-width except it uses a custom segmenter rather than Intl. so both should probably co-exist since you won't always have Intl available

@43081j 43081j merged commit 3c5c164 into main Aug 27, 2025
3 checks passed
@43081j 43081j deleted the widthlings branch August 27, 2025 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants