Search results

34 packages found

Regular expression for matching astral symbols

published version 2.0.0, 6 years ago910 dependents licensed under $MIT
107,477,865

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,393,632

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
184,512

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
74,176

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

published version 1.1.0, 9 years ago4 dependents licensed under $MIT
39,805

Fastify plugin to disable client-side caching

published version 4.0.1, 5 months ago3 dependents licensed under $MIT
21,611

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

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
6,300

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

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

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,835

Grapheme cluster break tooling.

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

Create an iterator which iterates over grapheme clusters.

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

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
2,958

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
4,601

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
214

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
63