Search results

55 packages found

Convert and detect character encoding in JavaScript

published version 2.2.0, 8 months ago75 dependents licensed under $MIT
4,308,034

UTF-safe string operations

published version 3.1.3, 10 months ago10 dependents licensed under $MIT
86,349

Maximum Unicode code point in the Basic Multilingual Plane (BMP).

published version 0.2.2, 6 months ago3 dependents licensed under $Apache-2.0
41,326

Create a string from a sequence of Unicode code points.

published version 0.2.2, 6 months ago2 dependents licensed under $Apache-2.0
41,369

Maximum Unicode code point.

published version 0.2.2, 6 months ago3 dependents licensed under $Apache-2.0
41,327

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

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

Like `string.slice()` but bytewise

published version 3.0.0, a year ago4 dependents licensed under $MIT
20,985

Get the UTF-8 byte length of a string

published version 3.0.0, a year ago5 dependents licensed under $MIT
22,174

Convert a UTF-16 encoded string to an array of integers using UTF-8 encoding.

published version 0.2.2, 6 months ago1 dependents licensed under $Apache-2.0
9,310

Get the code points of each character in the string

published version 2.0.0-1, 6 years ago8 dependents licensed under $MIT
12,812

The maximum code point available in JavaScript

published version 1.0.0, 9 years ago1 dependents licensed under $Unlicense
6,576

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

published version 2.1.0, 4 years ago4 dependents licensed under $MIT
4,709

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

published version 0.2.2, 6 months ago4 dependents licensed under $Apache-2.0
3,104

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

published version 0.2.2, 6 months ago2 dependents licensed under $Apache-2.0
2,689

Grapheme cluster break tooling.

published version 0.2.3, 6 months ago3 dependents licensed under $Apache-2.0
2,958

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

published version 0.2.2, 6 months ago3 dependents licensed under $Apache-2.0
3,031

Percent-encode a UTF-16 encoded string according to RFC 3986.

published version 0.2.2, 6 months ago3 dependents licensed under $Apache-2.0
2,105

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

published version 0.2.2, 6 months ago12 dependents licensed under $Apache-2.0
2,671

A safe Uint8Array to utf-16 string converter

published version 0.3.0, 5 years ago1 dependents licensed under $ISC
1,834

A zero-dependency tool to encode/decode UTF-8, UTF-16 and hex strings. For browser and Node.js. With typings.

published version 0.0.3, 2 years ago1 dependents licensed under $ISC
951