A circular array buffer written in modern TypeScript.
Detect the file type of a file, stream, or data
Modify strings, generate sourcemaps
Some useful utilities I often need
a simple ring buffer data structure
Modern Buffer API polyfill without footguns
Node.js Buffer API, for the browser
Safer Node.js Buffer API
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
A library to offer a ring buffer for Node-RED msg statistics.
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.
Is this value a JS SharedArrayBuffer?
A focus ring clearly indicates which item has keyboard focus.
Get the ArrayBuffer out of a TypedArray, robustly.
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
Determine if an object is a Buffer
Get the ArrayBuffer out of a DataView, robustly.
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 [ponyfill](https://ponyfill.com) for `Buffer.from`, uses native implementation if available.
A pure javascript CRC32 algorithm that plays nice with binary data
A compiled-away, type-safe, readable RegExp alternative
magic-string with AST shortcut.