Detect the file type of a file, stream, or data
-
Updated
Aug 15, 2026 - JavaScript
Detect the file type of a file, stream, or data
Check if a Buffer/Uint8Array is a GIF image
Data structures handling
use sharedArrayBuffer to store data
Utilities of react-native-pixel-image
Convert different types of JavaScript String to/from Uint8Array
ArrayBuffer, DataView, Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array
Fast hex and base64 encoding and decoding, string <-> Uint8Array
Uint8 encoding, a simple way to convert strings to Uint8Arrays and vice versa.
📦 A simple, lightweight, and efficient JavaScript library to manage encoding/decoding between base64 data, Uint8Arrays, and ArrayBuffers
Check if a Buffer/Uint8Array is available for cwebp image source
Base64 for both node.js and browser JavaScript. It supports URL-safe encoding and enabling/disabling padding. Buffers can be implemented using ArrayBuffer, any TypedArray or Buffer
BigInt encoding, a simple way to convert Uint8Arrays into BigInts, and vice versa.
The fastest function to convert a hexadecimal string to a Uint8Array.
Check if a Buffer/Uint8Array is a MKV video
Generate a cryptographically-random Uint8Array with the given number of bytes of entropy.
The fastest function to convert a Uint8Array to hexadecimal.
A tiny function for casting a Buffer to a Uint8Array.
To associate your repository with the uint8array topic, visit your repo's landing page and select "manage topics."