grapheme-iterator
Iterator that yields the Unicode Extended Grapheme Clusters in a string.
Usage
import grapheme_iterator from 'grapheme-iterator'; [...grapheme_iterator("๐น๐ผไบบ๐ฉโโ๏ธ")].length === 3;
Iterator that yields the Unicode Extended Grapheme Clusters in a string.
import grapheme_iterator from 'grapheme-iterator'; [...grapheme_iterator("๐น๐ผไบบ๐ฉโโ๏ธ")].length === 3;