Showing 1-20 of 6,052 packages
Find the position of grapheme cluster breaks in a string
Grapheme cluster break tooling.
An implementation of the Unicode grapheme cluster breaking algorithm (UAX #29)
Return the next extended grapheme cluster break in a string after a specified position.
An implementation of the Unicode grapheme cluster breaking algorithm (UAX #29)
Split a string by its grapheme cluster breaks.
An ES Module implementation of the Unicode 13.0.0 grapheme cluster breaking algorithm (UAX #29)
A JavaScript (ES Module) implementation for web apps, Deno and Node.js of the Unicode 14.0.0 grapheme cluster breaking algorithm ([UAX #29](http://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries))
Create an iterator which iterates over grapheme clusters.
Remove the first grapheme cluster (i.e., user-perceived character) of a string.
Return the last grapheme cluster (i.e., user-perceived character) of a string.
Return the first grapheme cluster (i.e., user-perceived character) of a string.
Slice a string based on grapheme cluster (i.e., user-perceived character) indices.
Invoke a function for each grapheme cluster (i.e., user-perceived character) in a string.
Remove the last grapheme cluster (i.e., user-perceived character) of a string.
A JavaScript library that breaks strings into their individual user-perceived characters (including emojis!)
[](https://badge.fury.io/js/graphemesplit)
[](https://www.unicode.org/versions/Unicode17.0.0/)
Unicode-aware terminal cell width engine: grapheme cluster boundaries + terminal-style cluster width.
Return the previous extended grapheme cluster break in a string before a specified position.