26 packages found
Regular expression for matching astral symbols
An ESnext spec-compliant `String.prototype.toWellFormed` shim/polyfill/replacement that works as far down as ES3.
- javascript
- ecmascript
- polyfill
- shim
- es-shim API
- unicode
- string
- surrogate
- pair
- well-formed
- String.prototype.toWellFormed
An ESnext spec-compliant `String.prototype.isWellFormed` shim/polyfill/replacement that works as far down as ES3.
- javascript
- ecmascript
- polyfill
- shim
- es-shim API
- unicode
- string
- surrogate
- pair
- well-formed
- String.prototype.isWellFormed
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Create an iterator which iterates grapheme clusters.
- stdlib
- stdstring
- utilities
- utility
- utils
- util
- string
- str
- unicode
- grapheme
- segmentation
- surrogate
- astral
- emojis
- View more
a regular expression that matches all the surrogate pairs and combining-marked characters in a string
Return the next extended grapheme cluster break in a string after a specified position.
Return a Unicode code point from a string at a specified position.
Return the number of grapheme clusters in a string.
- stdlib
- stdstring
- utilities
- utility
- utils
- util
- string
- str
- length
- len
- unicode
- grapheme
- segmentation
- surrogate
- View more
Return a Unicode code point from a string at a specified position.
Tells, is given character a part of astral character, specifically, a high and low surrogate
Grapheme cluster break tooling.
Return the previous extended grapheme cluster break in a string before a specified position.
Split a string by its grapheme cluster breaks.
Return a regular expression to match an unpaired UTF-16 surrogate.
Create an iterator which iterates grapheme clusters.
- stdlib
- stdstring
- utilities
- utility
- utils
- util
- string
- str
- unicode
- grapheme
- segmentation
- surrogate
- astral
- emojis
- View more
Return a regular expression to match a UTF-16 surrogate pair.
Fastify plugin to disable client-side caching
Test if a position in a string marks the start of a UTF-16 surrogate pair.
Get the code points of each character in the string