Various operations on Uint8Array data
Utility to parse a string bytes to bytes and vice-versa
Left pad a string with zeros or a specified string. Fastest implementation.
abstract base class for hash-streams
Codecs for strings of different sizes and encodings
An iteration of the Node.js core streams with a series of improvements
The modular and type safe schema library for validating structural data
augment pretty-bytes to make the output a little more readable (and a little less precise)
Interface for multihash, multicodec, multibase and CID
Core types and helpers for encoding and decoding byte arrays on Solana
Sniff the encoding from a HTML byte stream
URL and cookie safe UIDs
transfer humanize size to byte
Convert bytes to a human readable string: 1337 → 1.34 kB
encode/decode number as bitcoin variable length integer
A minimal UTF8 implementation for number arrays.
Codecs for various data structures
Truncate string to given length in bytes
Detect Filetype by bytes
> Even though this module is publicly accessible, we do not recommend using it in projects outside of [Transloadit](https://transloadit.com). We won't make any guarantees about its workings and can change things at any time, we won't adhere strictly to Se
Detects if a file is binary in Node.js. Similar to Perl's -B.
Byte buffer specialized for data in chunks with special cases for dropping bytes in the front, merging bytes in to various integer types and abandoning buffer without penalty for previous chunk merges.
(IEC) Utility to parse a string bytes to bytes and vice-versa
Modern byte, encoding, converter registry, and PEM utilities for TypeScript projects.
A simple serialization format which converts enums and structs from and to bytes
Derive macro for flat-bytes