A package to format bytes into human-readable strings
Utility to parse a string bytes to bytes and vice-versa
Various operations on Uint8Array data
An iteration of the Node.js core streams with a series of improvements
Sniff the encoding from a HTML byte stream
URL and cookie safe UIDs
Convert bytes to a human readable string: 1337 → 1.34 kB
A minimal UTF8 implementation for number arrays.
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.
Modern byte, encoding, converter registry, and PEM utilities for TypeScript projects.
Sizeof of a JavaScript object in Bytes
(IEC) Utility to parse a string bytes to bytes and vice-versa
Compress JSON in URL friendly strings
TypeScript definitions for bytes
No description provided.
protobuf-style varint bytes - use msb to create integer values of varying sizes
Format pair of HTTP Request and Response to API Blueprint format
Generate a unique character string suitible for use in files and URLs.
Bytes utility functions for ethers.
Implementation of the HTML encoding sniffer algo, with stream support
Format byte counts as human-readable strings (1.5 MB) and parse them back. Supports SI units (KB, MB, GB) and binary units (KiB, MiB, GiB) with configurable precision.
Byte size formatter for when ActiveSupport is too much
active_record_uuid is a nice gem that add uuid supports to your activerecord models (MySQL). It allows you to store uuid in various formats: binary (16 bytes), base64 (24 bytes), hexdigest (32 bytes), or string (36 bytes), and query back with uuid string.
Unit conversion library supporting length, weight, temperature, volume, speed, pressure, energy, and data categories with a simple convert API, string parsing, byte humanization, unit abbreviations, and formatted output.
Pure-Ruby implementation of tar archive creation and extraction using the standard 512-byte block format. Supports adding files from disk or strings, extracting archives, and listing archive contents without external dependencies.
Convert bytesizes into a human-readable format Either uses decimal byte prefixes or prefixes based on powers of 2 (Ki, Mi, etc.).
Encode and decode hexadecimal strings with 0x prefix handling, produce xxd-style hex dumps, format hex output with configurable grouping, swap endianness, extract byte ranges, pad hex strings, convert between hex and integers, and validate hex strings.
Resize images, lower quality to save bytes, rotate, crop, convert between formats, and anything else that the image_processing gem supports.
Pure Ruby implementation of the Scalability Protocols wire format used by nanomsg and nng. Includes the SP/TCP framing codec, 8-byte greeting, protocol identifiers, and connection management. No runtime dependencies.
a jekyll generator plugin that calculates total file size of your website and makes it available as as variable in multiple formats (bytes, kb, mb).
A Ruby library for encrypting and decrypting strings in the 3ncr.org/1#... envelope format (AES-256-GCM with a 12-byte random IV). Supports raw 32-byte AES keys, SHA3-256 derivation for high-entropy secrets, and Argon2id derivation for low-entropy secrets such as passwords.
Sibling gem to `blockchain0x`. Verify inbound x402 payments + issue x402-aware HTTP calls. Wire-format byte-equivalent with the Node, Python, and Go ports.