Search results
34 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Regular expression for matching astral symbols
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Tells, is given character a part of astral character, specifically, a high and low surrogate
a regular expression that matches all the surrogate pairs and combining-marked characters in a string
Get a UTF-16-encoded code point number of a character
Fastify plugin to disable client-side caching
Get the code points of each character in the string
Test if a position in a string marks the start of a UTF-16 surrogate pair.
Return a Unicode code point from a string at a specified position.
Return a Unicode code point from a string at a specified position.
Grapheme cluster break tooling.
Create an iterator which iterates over grapheme clusters.
- stdlib
- stdstring
- utilities
- utility
- utils
- util
- string
- str
- unicode
- grapheme
- segmentation
- surrogate
- astral
- emojis
- View more
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
Return the next extended grapheme cluster break in a string after a specified position.
Get location of code point in a string or get code points from string
- code
- codePoint
- string
- char
- character
- unicode
- utf16
- utf-16
- polyfill
- ponyfill
- codePointAt
- codePoints
- codePointFullWidth
- fromCodePoint
- View more
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
Split a string by its grapheme cluster breaks.
Full-featured, testable OOP
Return a regular expression to match an unpaired UTF-16 surrogate.
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