Utility to parse a string bytes to bytes and vice-versa
Compute ripemd160 of bytes or strings.
Convert bytes to a human readable string: 1337 → 1.34 kB
Tracks the download progress of a request made with mikeal/request, giving insight of various metrics including progress percent, download speed and time remaining
Buffer and transform the n first bytes of a stream
Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.
Ensure a path doesn't contain null bytes
URL and cookie safe UIDs
Convert bytes to other sizes for prettier logging
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Lightweight filesize to human-readable / proportions w/o dependencies.
augment pretty-bytes to make the output a little more readable (and a little less precise)
Convert to/from strings and array of bytes
Convert to/from hex string and array of bytes
Compute SHA256 of bytes or strings.
Get the real byte length of a string.
Compare byte and datetime units