Search results

367 packages found

Utility to parse a string bytes to bytes and vice-versa

published version 3.1.2, 3 years ago2531 dependents licensed under $MIT
259,762,410

Convert bytes to a human readable string: 1337 → 1.34 kB

published version 7.0.0, 2 months ago1967 dependents licensed under $MIT
72,174,325

Compute ripemd160 of bytes or strings.

published version 2.0.2, 7 years ago673 dependents licensed under $MIT
50,479,567

JavaScript library to generate a human readable String describing the file size

published version 10.1.6, 10 months ago2409 dependents licensed under $BSD-3-Clause
57,038,478

Tracks the download progress of a request made with mikeal/request, giving insight of various metrics including progress percent, download speed and time remaining

published version 3.0.0, 9 years ago441 dependents licensed under $MIT
26,918,805

URL and cookie safe UIDs

published version 1.0.0, 9 years ago38 dependents licensed under $MIT
13,506,595

Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.

published version 9.0.1, 7 months ago185 dependents licensed under $MIT
11,097,941

Buffer and transform the n first bytes of a stream

published version 6.0.0, 2 years ago44 dependents licensed under $MIT
7,346,267

(IEC) Utility to parse a string bytes to bytes and vice-versa

published version 3.1.1, 5 years ago49 dependents licensed under $MIT
1,563,717

simple speed measurement in javascript

published version 1.1.0, 7 years ago85 dependents licensed under $MIT
2,616,320

Ensure a path doesn't contain null bytes

published version 3.0.0, 4 years ago27 dependents licensed under $MIT
2,345,618

Sizeof of a JavaScript object in Bytes

published version 2.6.5, a year ago474 dependents licensed under $MIT
1,726,161

Convert bytes to other sizes for prettier logging

published version 2.0.0, 7 years ago190 dependents
923,457

Unicode aware string truncation that given a max byte size will truncate the string to or just below that size

published version 1.0.0, 9 years ago19 dependents licensed under $MIT
1,405,511

Define complex binary structures using composable primitives

published version 0.7.3, 2 months ago27 dependents licensed under $MIT
639,802

Converts a number to/from a human readable string: `1337` ↔ `1.34kB`

published version 1.2.1, 7 months ago87 dependents licensed under $ISC
585,270

Lightweight filesize to human-readable / proportions w/o dependencies.

published version 1.0.0, 10 years ago67 dependents licensed under $MIT
547,025

Compare byte and datetime units

published version 1.0.1, 9 years ago2 dependents licensed under $ISC
473,183

Get the dimensions of an image

published version 2.3.0, 2 years ago16 dependents licensed under $MIT
395,713

Get the real byte length of a string.

published version 1.0.2, 8 years ago34 dependents licensed under $MIT
724,508