A utility package for JavaScript applications.
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Robustly get the byte length of a Typed Array
Get the byteLength out of a DataView, robustly.
Robustly get the byte offset of a Typed Array
Get the byteOffset out of a DataView, robustly.
Windows legacy GUID parser
Get utf8 byte length of string
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
Next.js plugin to transpile code from node_modules
Pattern-matching on byte buffers
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.
A 373-byte Spec-Compliant Runtime-Only Implementation of the ECMAScript Try Operator Proposal Result class
Strip UTF-8 byte order mark (BOM) from a string
Platform byte order.
Split email messages into an object stream
Sniff the encoding from a HTML byte stream
Node addon for string extraction for msgpackr
See our api docs https://serialport.io/docs/api-parser-byte-length
See our api docs https://serialport.io/docs/api-parser-inter-byte-timeout
LEB128 utilities for Node
Bytes utility functions for ethers.
Engine for Shiki using JavaScript's native RegExp