Detect the file type of a file, stream, or data
Modify strings, generate sourcemaps
Some useful utilities I often need
Safer Node.js Buffer API
Modern Buffer API polyfill without footguns
Node.js Buffer API, for the browser
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.
Get the ArrayBuffer out of a TypedArray, 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.
Is this value a JS SharedArrayBuffer?
Get the ArrayBuffer out of a DataView, robustly.
Determine if an object is a Buffer
Pass in a string, array, Buffer, Data View, or Uint8Array, and get a Buffer back.
JSON parse & stringify that supports binary via bops & base64
A compiled-away, type-safe, readable RegExp alternative
A pure javascript CRC32 algorithm that plays nice with binary data
magic-string with AST shortcut.
Convert a typed array to a Buffer without a copy
A collection of utilities for working with JSON objects, including diffing, conflict resolution, bundling and more.
minimal implementation of a PassThrough stream
Read/write IEEE754 floating point numbers from/to a Buffer or array-like object
No description provided.
No description provided.