45 packages found
pvtsutils is a set of common utility functions used in various Peculiar Ventures TypeScript based projects.
Unicode-aware string functions
- multibyte
- unicode
- utf8
- utf-8
- utf-16
- utf16
- multibyte safe
- multibyte-safe
- unicode aware
- unicode-aware
- emoji
- emoji-safe
Brotli compression/decompression that encodes to base-unicode and back. Node.js and Browser support.
Percent-encode a UTF-16 encoded string according to RFC 3986.
Return the next extended grapheme cluster break in a string after a specified position.
Convert a UTF-16 encoded string to an array of integers using UTF-8 encoding.
Return a Unicode code point from a string at a specified position.
Create a string from a sequence of Unicode code points.
Return a Unicode code point from a string at a specified position.
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.
- base-unicode
- compression
- encode
- decode
- string
- binary
- typescript
- browser
- Node.js
- UTF16
- UCS-2
- URI
- URL-safe
- copy-pastable
Grapheme cluster break tooling.
Percent-encode a UTF-16 encoded string according to RFC 3986.
Return the previous extended grapheme cluster break in a string before a specified position.
A compact library to encode, decode and convert UTF8 / UTF16 in JavaScript.
Return a regular expression to match an unpaired UTF-16 surrogate.
Maximum Unicode code point in the Basic Multilingual Plane (BMP).
Maximum Unicode code point.
Return a regular expression to match a UTF-16 surrogate pair.
Test if a position in a string marks the start of a UTF-16 surrogate pair.