byte-decoder
Decode data. Browser or NodeJS.
Decode data. Browser or NodeJS.
Encode data to utf8 bytes. Browser or NodeJS.
Chai assertions for byte arrays equality
Uint8Array <-> Base64, very small size library
TypedArray. Work with bytes. Can be used as a Buffer, TypedArray, BitView, DataView. Client side and server side support.
Detect the image type of Buffer/Uint8Array
Fast uint8array to utf-8 codepoint iterator for streams and array buffers by @okikio & @jonathantneal
## Usage
Generate a cryptographically-random Uint8Array with the given number of bytes of entropy.
Detect file type by signature
A tiny function for decoding base64 strings into Uint8Arrays, useful for bundling and loading WASM modules.
Modular utility hooks that we often use grouped in one package. Written in TypeScript, documented, tested and maintained.Disclaimer: at least React 16 is needed (the one with hooks ;) )
Node.js Buffer API, for the browser
Node.js Buffer API, for the browser
Node.js Buffer API, for the browser
convert a string/Buffer/Uint8Array to a readable stream, support highWaterMark and adjustable push delay
A tiny function for casting a Buffer to a Uint8Array.
BigInt encoding, a simple way to convert Uint8Arrays into BigInts, and vice versa.
基于file-type 12.3.0版本修改,微信小程序可用的文件类型检测工具
A CommonJS port from the ESM file-type package. Now fixed to not have 'tarHeaderChecksumMatches' error!