37 packages found

    pvtsutils is a set of common utility functions used in various Peculiar Ventures TypeScript based projects.

    published 1.3.2 3 months ago
    M
    Q
    P

    A compact library to encode, decode and convert UTF8 / UTF16 in JavaScript.

    published 1.0.1 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 month ago
    M
    Q
    P

    Convert UTF8 to UTF16

    published 0.9.4 7 years ago
    M
    Q
    P
    M
    Q
    P

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

    published 0.0.9 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 6 months ago
    M
    Q
    P

    Create a string from a sequence of Unicode code points.

    published 0.0.9 a month ago
    M
    Q
    P

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

    published 0.0.7 6 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 month ago
    M
    Q
    P

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

    published 0.0.9 a month ago
    M
    Q
    P

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

    published 0.0.8 a month ago
    M
    Q
    P

    Encodes text and binary data to a subset of Unicode plane 1 (BMP). Runs in browser and Node.js. Character compression. Makes binary data copy-pastable. URL-safe.

    published 1.0.0 2 months ago
    M
    Q
    P

    Brotli compression/decompression that encodes to base-unicode and back. Node.js and Browser support.

    published 1.0.2 2 months ago
    M
    Q
    P

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

    published 0.0.7 6 months ago
    M
    Q
    P

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

    published 0.0.7 6 months ago
    M
    Q
    P

    UTF16-le encoding, a.k.a. UCS2 encoding, an encoding you probably should never use.

    published 2.0.1 4 months ago
    M
    Q
    P

    Standard string unicode constants.

    published 0.0.7 6 months ago
    M
    Q
    P

    Reverse UTF-16 string

    published 1.0.2 8 years ago
    M
    Q
    P