Remove a byte order mark (BOM) from a buffer.
Strip UTF-8 byte order mark (BOM) from a string
Remove a UTF8 BOM at the start of the stream.
Strip UTF-8 byte order mark (BOM) from a stream
Implementation of the HTML encoding sniffer algo, with stream support
Strip a byte order mark (BOM) from a string.
Strip UTF-8 byte order mark (BOM) from a Uint8Array
Sniff the encoding from a HTML byte stream
Remove a UTF-8 byte order mark (BOM) from the beginning of a string.
Modern Buffer API polyfill without footguns
Safer Node.js Buffer API
Add a UTF-8 BOM to files
Node.js Buffer API, for the browser
Is this value a JS ArrayBuffer?
smart-buffer is a Buffer wrapper that adds automatic read & write offset tracking, string operations, data insertions, and more.
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.
File system manipulation without headache
Get the ArrayBuffer out of a DataView, robustly.
Pass in a string, array, Buffer, Data View, or Uint8Array, and get a Buffer back.
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
Write files in an atomic fashion w/configurable ownership
JSON parse & stringify that supports binary via bops & base64