26 packages found

Regular expression for matching astral symbols

published 2.0.0 4 years ago
M
Q
P

An ESnext spec-compliant `String.prototype.toWellFormed` shim/polyfill/replacement that works as far down as ES3.

published 1.0.0 6 months ago
M
Q
P

An ESnext spec-compliant `String.prototype.isWellFormed` shim/polyfill/replacement that works as far down as ES3.

published 1.0.0 6 months ago
M
Q
P

Unicode aware string truncation that given a max byte size will truncate the string to or just below that size

published 1.0.0 7 years ago
M
Q
P

Create an iterator which iterates grapheme clusters.

published 0.0.1 4 months ago
M
Q
P

a regular expression that matches all the surrogate pairs and combining-marked characters in a string

published 2.0.0 7 years ago
M
Q
P

Return the next extended grapheme cluster break in a string after a specified position.

published 0.0.9 a year ago
M
Q
P

Return a Unicode code point from a string at a specified position.

published 0.0.9 a year ago
M
Q
P

Return the number of grapheme clusters in a string.

published 0.0.9 a year ago
M
Q
P

Return a Unicode code point from a string at a specified position.

published 0.0.2 9 months ago
M
Q
P

Tells, is given character a part of astral character, specifically, a high and low surrogate

published 3.0.7 2 months ago
M
Q
P
M
Q
P

Return the previous extended grapheme cluster break in a string before a specified position.

published 0.0.3 a year ago
M
Q
P

Split a string by its grapheme cluster breaks.

published 0.0.3 a year ago
M
Q
P

Return a regular expression to match an unpaired UTF-16 surrogate.

published 0.0.7 a year ago
M
Q
P

Create an iterator which iterates grapheme clusters.

published 0.0.1 7 months ago
M
Q
P

Return a regular expression to match a UTF-16 surrogate pair.

published 0.0.7 a year ago
M
Q
P

Fastify plugin to disable client-side caching

published 3.1.2 a month ago
M
Q
P

Test if a position in a string marks the start of a UTF-16 surrogate pair.

published 0.0.8 a year ago
M
Q
P

Get the code points of each character in the string

published 2.0.0-1 4 years ago
M
Q
P