@stdlib/assert-has-utf16-surrogate-pair-at

Test if a position in a string marks the start of a UTF-16 surrogate pair.
v0.2.2 URL: https://unpkg.com/@stdlib/assert-has-utf16-surrogate-pair-at@0.2.2/lib/index.js
OpenBrowse Files
stdlibstdstringstringstrutilitiesutilityutilsutilcodepointptunicodeutf-16utf16surrogateastral

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

@stdlib/regexp-utf16-surrogate-pair

Return a regular expression to match a UTF-16 surrogate pair.
v0.2.2 URL: https://unpkg.com/@stdlib/regexp-utf16-surrogate-pair@0.2.2/lib/index.js
OpenBrowse Files
stdlibregexregexpreutf-16utf16unicodesurrogatehighlowpairregularexpressioncapturematch

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

surrog8

Surrogate pair converter with dev-friendly source code.
v0.4.2 URL: https://unpkg.com/surrog8@0.4.2/sg8.js
OpenBrowse Files
unicodesurrogatesurrogate pairsurrogate pairshigh uncode charactersucs-2utf-32utf-16