Search results

358 packages found

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

published version 3.1.2, 3 years ago2506 dependents licensed under $MIT
222,538,633

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

published version 6.1.1, 2 years ago1915 dependents licensed under $MIT
65,324,987

Compute ripemd160 of bytes or strings.

published version 2.0.2, 7 years ago668 dependents licensed under $MIT
40,320,151

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

published version 10.1.6, 7 months ago2383 dependents licensed under $BSD-3-Clause
49,803,703

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, 8 years ago439 dependents licensed under $MIT
24,344,773

URL and cookie safe UIDs

published version 1.0.0, 9 years ago36 dependents licensed under $MIT
11,927,127

Buffer and transform the n first bytes of a stream

published version 6.0.0, a year ago44 dependents licensed under $MIT
6,144,101

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, 4 months ago180 dependents licensed under $MIT
7,766,304

simple speed measurement in javascript

published version 1.1.0, 7 years ago85 dependents licensed under $MIT
2,427,112

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

published version 3.1.1, 4 years ago49 dependents licensed under $MIT
1,054,470

Sizeof of a JavaScript object in Bytes

published version 2.6.5, 9 months ago457 dependents licensed under $MIT
1,461,137

Ensure a path doesn't contain null bytes

published version 3.0.0, 4 years ago27 dependents licensed under $MIT
1,566,875

Convert bytes to other sizes for prettier logging

published version 2.0.0, 6 years ago190 dependents
911,491

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,369,598

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

published version 1.2.1, 5 months ago87 dependents licensed under $ISC
550,879

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

published version 1.0.0, 10 years ago67 dependents licensed under $MIT
541,931

Get the real byte length of a string.

published version 1.0.2, 7 years ago34 dependents licensed under $MIT
581,300

Isomorphic Library for Random Bytes

published version 1.1.0, 2 months ago2 dependents licensed under $MIT
367,145

augment pretty-bytes to make the output a little more readable (and a little less precise)

published version 1.0.4, 8 years ago81 dependents licensed under $ISC
464,987

Convert to/from strings and array of bytes

published version 0.1.0, 11 years ago28 dependents
285,428