Search results

34 packages found

Regular expression for matching astral symbols

published version 2.0.0, 6 years ago910 dependents licensed under $MIT
107,506,004

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,434,533

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

published version 3.0.11, 3 months ago3 dependents licensed under $MIT
180,677

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
77,101

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

published version 1.1.0, 9 years ago4 dependents licensed under $MIT
37,855

Fastify plugin to disable client-side caching

published version 4.0.1, 5 months ago3 dependents licensed under $MIT
20,809

Get the code points of each character in the string

published version 2.0.0-1, 6 years ago8 dependents licensed under $MIT
16,536

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

published version 0.2.2, 10 months ago4 dependents licensed under $Apache-2.0
4,609

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
5,992

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

published version 0.2.2, 10 months ago2 dependents licensed under $Apache-2.0
4,029

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

published version 0.2.2, 10 months ago3 dependents licensed under $Apache-2.0
4,547

Grapheme cluster break tooling.

published version 0.2.3, 10 months ago3 dependents licensed under $Apache-2.0
4,165

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
3,231

Create an iterator which iterates over grapheme clusters.

published version 0.2.1, 10 months ago0 dependents licensed under $Apache-2.0
1,941

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

published version 0.2.2, 10 months ago12 dependents licensed under $Apache-2.0
3,900

Split a string by its grapheme cluster breaks.

published version 0.2.2, 10 months ago2 dependents licensed under $Apache-2.0
897

Return the number of grapheme clusters in a string.

published version 0.2.2, 10 months ago4 dependents licensed under $Apache-2.0
922

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

published version 0.2.2, 10 months ago0 dependents licensed under $Apache-2.0
276

Full-featured, testable OOP

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

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

published version 0.2.2, 10 months ago2 dependents licensed under $Apache-2.0
80