Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.
TypeScript definitions for byte-size
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Will generate a random HEX string of a specifc byte size.
Get the byte size of an object after JSON.stringify
Get the byte size of your DynamoDB input.
through stream that buffers streams into batches limited by a cumulative byte size limit
Dead simple, single file, tiny byte formatter
A library for representing and working with arbitrary byte size two's complement integers, signed and unsigned.
Convert byte size to human-readable size
OpenCode plugin that enforces Anthropic's image API limits — dimensions, byte size, count — with context usage tracking
Byte-size Javascript
Get utf8 byte length of string
Calculate the byte size of an object
Get the byteLength out of a DataView, robustly.
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Robustly get the byte offset of a Typed Array
Robustly get the byte length of a Typed Array
Get the byteOffset out of a DataView, robustly.
Get the real byte length of a string.
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
Get the UTF-8 byte length of a string
Like `string.slice()` but bytewise
byte size string parser / serializer
An effective short string shrinker with total disregard for speed, memory usage and executable size
Common types and functions for byte size handling
Derive macros for bytelike new types
Semantic wrapper for byte count representations
An utility for human-readable bytes representations. Forked from https://github.com/hyunsik/bytesize .
A procedural macro for deriving human readable byte functions
A procedural macro for deriving human readable byte functions
An implmentation of human-readable bytesize
A Serde deserializer for duration and byte-size.
A tiny Rust crate for generating byte-sized enums that represent a fixed, ordered set of &str data.
Abstracts over pqcrypto. Allows selecting a post-quantum encryption algorithm by setting a single byte-sized value. Useful for multi-algorithmic or nondeterministic schemes
WebAssembly module signing and verification tool to proof authenticity and integrity of WebAssembly bytecodes. The signature is attached as Custom-Section to the end of th module. The signed module can be transmitted over network. Recipients parsing the signed module will 'see' an additional Custom-Section of type 0 and name 'signature'. The Signature adds an overhead of 118 bytes.
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
Jekyll plugin to retrieve size of file in bytes
ByteSize is a simple Ruby object that stores a size in bytes, while providing human-readible string output with apropriate SI or IEC suffixes. Ample convenience methods are also supplied for quick shorthand.
Sorts lines by human-readable byte size (like the output of `du -h`)
This filter parses strings representing computer storage sizes (e.g. "123 MB" or "6.3GB") into numeric bytes (12
Adds methods for calculating the record size (in bytes) and Model record average size.
Human Size is a simple ruby gem to convert a number of bytes into a more human readable form.
Convert a size string like 1.12KB to the number value in Bytes.
Local FastImage finds the size or type of an image reading as little bytes as needed.
Walk Git history to calculate commit size in bytes.
Accepts a file size in bytes and returns a string with the appropriate prefix (e.g., '1.5 MB', '1024 KB').
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.