A file-based Buffer wrapper that adds automatic read & write offset tracking, string operations, and more.
smart-buffer is a Buffer wrapper that adds automatic read & write offset tracking, string operations, data insertions, and more.
Write files in an atomic fashion w/configurable ownership
Safer Node.js Buffer API
Modern Buffer API polyfill without footguns
Generates an asynchronous resolver function from a PAC file
Node.js Buffer API, for the browser
Detect the file type of a file, stream, or data
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Is this value a JS SharedArrayBuffer?
Get the ArrayBuffer out of a TypedArray, robustly.
Get the ArrayBuffer out of a DataView, robustly.
Is this value a JS ArrayBuffer?
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
A [ponyfill](https://ponyfill.com) for `Buffer.from`, uses native implementation if available.
JSON parse & stringify that supports binary via bops & base64
A pure javascript CRC32 algorithm that plays nice with binary data
Convert character encodings in pure javascript.
Check if a Buffer/Uint8Array is a PNG image
Determine if an object is a Buffer
Pass in a string, array, Buffer, Data View, or Uint8Array, and get a Buffer back.
Convert a typed array to a Buffer without a copy
split a Text Stream into a Line Stream, using Stream 3
A port of the Brotli compression algorithm as used in WOFF2