filesize
JavaScript library to generate a human readable String describing the file size
pretty-bytes
Convert bytes to a human readable string: 1337 → 1.34 kB
file_size_url
A lightweight Node.js library to fetch the file size from a remote URL without downloading the file. Zero dependencies. Returns a Promise with the file size formatted as 'B', 'KB', 'MB', 'GB', or 'TB'.
xbytes
Parse bytes to human readable sizes (4747) → ('4.75 KB') and vice versa.