Graphemer accurately segments text into user-perceived characters, or graphemes, according to the Unicode Standard. Crucially, it handles complex scripts and emoji combinations correctly, unlike naive string splitting. It offers essential string manipulation functions that operate on graphemes rather than code points, preventing unexpected behavior with diacritics, ZWJ sequences, and other grapheme clusters. It is ideal for tasks like text truncation, display length calculation, and cursor positioning in multilingual applications.
The npm package graphemer had initial releases in September 2020 (versions 1.0.0, 1.1.0, 1.1.1). Subsequent releases occurred sporadically: January 2021 (1.2.0), December 2021 (1.3.0), and September 2022 (1.4.0). No releases have occurred since September 2022, with no versions published from October 2022 through September 2025.
Graphemer's npm package downloads show a strong upward trend from February 2024 to July 2025, peaking at over 162 million. While August 2025 downloads decreased to 124 million, overall adoption of the package has substantially increased, demonstrating its growing popularity and utility.