Showing 1-20 of 471,005 packages
Get all 4-byte characters form a string
Regular expression which matches a string with no 4-byte characters
The minimum code point of 4 byte characters in UTF-8
Check if a given number is a code point of UTF-8 4-byte character
A pattern of HTML `input` element to restrict use of UTF-8 4-byte characters
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Robustly get the byte length of a Typed Array
Robustly get the byte offset of a Typed Array
Get the byteLength out of a DataView, robustly.
Get the byteOffset out of a DataView, robustly.
Get utf8 byte length of string
Base64 encoding/decoding in pure JS
Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Get the real byte length of a string.
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
4-byte-width (UTF-32) characters and unsigned integers for working with strings
Byte buffer specialized for data in chunks with special cases for dropping bytes in the front, merging bytes in to various integer types and abandoning buffer without penalty for previous chunk merges.
a fast, efficient buffer writer
Crockford base-32 checksum encoding