string-character-is-astral-surrogate

Tells, is given character a part of astral character, specifically, a high and low surrogate
v3.0.11 URL: https://unpkg.com/string-character-is-astral-surrogate@3.0.11/dist/string-character-is-astral-surrogate.esm.js
OpenBrowse Files
astralcharactercharactersemojihighidentifyislowstringsupportsurrogatesurrogatestellunicode

code-point

Get a UTF-16-encoded code point number of a character
v1.1.0 URL: https://unpkg.com/code-point@1.1.0/index.js
OpenBrowse Files
codepointcode-pointstringcharcharacterunicodeutf16utf-16codepointatsurrogateplanebrowserclient-side

code-points

Get the code points of each character in the string
v2.0.0-1 URL: https://unpkg.com/code-points@2.0.0-1/dist/code-points-cjs.js
OpenBrowse Files
codepointcode-pointstringcharcharacterunicodeutf16utf-16codepointatsurrogateplane

astral-regex

Regular expression for matching astral symbols
v2.0.0 URL: https://unpkg.com/astral-regex@2.0.0/index.js
OpenBrowse Files
astralemojiregexsurrogate

unicode-byte-truncate

Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
v1.0.0 URL: https://unpkg.com/unicode-byte-truncate@1.0.0/index.js
OpenBrowse Files
slicesubstringsubstrtrunctruncatetrimunicodemultibytemulti-bytesurrogatepairpairsmaxbytebytescharacterschars