A utility package for JavaScript applications.
Conversion of JavaScript primitives to and from Buffer with binary order matching natural primitive order
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.
Sniff the encoding from a HTML byte stream
Immutable ArrayBuffer (the shim!)
Detects if a file is binary in Node.js. Similar to Perl's -B.
hint that that warns against using the BOM character at the beginning of a text file.
Get utf8 byte length of string
Windows legacy GUID parser
emotion's stylesheet
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
Returns a `stream.Readable` from a URI string
Reliably determines if the code is running in Node.js
A pure TypeScript WebP encoder and decoder with zero native dependencies
Minimal module to check if a file is executable.
Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.
LEB128 utilities for Node
Compound File Binary File Format extractor
Like `string.slice()` but bytewise
Opentelemetry resource detector to get container resource attributes