orling / grapheme-splitter

A JavaScript library that breaks strings into their individual user-perceived characters.
MIT License
917 stars 45 forks source link

2.0.0 #30

Closed xorgy closed 3 years ago

xorgy commented 3 years ago
xorgy commented 3 years ago

I wrote https://github.com/xorgy/grapheme-iterator from scratch, it uses an automatically-generated table of records to match GraphemeBreakProperty, is about twice as fast as grapheme-splitter, and is based on Unicode 13. (though I am not yet 100% sure of the state machine part of it, so please don't use it until I call it 1.0 unless you are fine with that)