Search results

34 packages found

Regular expression for matching astral symbols

published version 2.0.0, 6 years ago908 dependents licensed under $MIT
97,455,152

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

published version 1.0.0, 9 years ago19 dependents licensed under $MIT
1,336,661

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

published version 3.0.11, 2 months ago3 dependents licensed under $MIT
121,136

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

published version 2.0.0, 9 years ago2 dependents licensed under $MIT
55,664

Get a UTF-16-encoded code point number of a character

published version 1.1.0, 9 years ago4 dependents licensed under $MIT
41,822

Fastify plugin to disable client-side caching

published version 4.0.1, 3 months ago3 dependents licensed under $MIT
17,982

Get the code points of each character in the string

published version 2.0.0-1, 6 years ago8 dependents licensed under $MIT
18,676

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

published version 0.2.2, 9 months ago4 dependents licensed under $Apache-2.0
6,230

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

published version 0.2.2, 9 months ago2 dependents licensed under $Apache-2.0
5,474

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

published version 0.2.2, 9 months ago3 dependents licensed under $Apache-2.0
6,184

Grapheme cluster break tooling.

published version 0.2.3, 9 months ago3 dependents licensed under $Apache-2.0
6,211

Create an iterator which iterates over grapheme clusters.

published version 0.2.1, 9 months ago0 dependents licensed under $Apache-2.0
3,193

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

published version 1.0.2, a year ago0 dependents licensed under $MIT
2,976

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

published version 0.2.2, 9 months ago12 dependents licensed under $Apache-2.0
5,467

Get location of code point in a string or get code points from string

published version 2.1.0, 5 years ago4 dependents licensed under $MIT
1,830

Return the number of grapheme clusters in a string.

published version 0.2.2, 9 months ago4 dependents licensed under $Apache-2.0
1,672

Split a string by its grapheme cluster breaks.

published version 0.2.2, 9 months ago2 dependents licensed under $Apache-2.0
704

Full-featured, testable OOP

published version 0.9.0, 10 years ago18 dependents licensed under $MIT
453

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

published version 0.2.2, 9 months ago0 dependents licensed under $Apache-2.0
262

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

published version 1.0.2, a year ago1 dependents licensed under $MIT
180