Extra Credit

filesize

Lightweight, zero-dependency JavaScript utility to convert bytes to human-readable strings with localization support

$npm install filesize

Official docs outline

Extra Credit builds an outline of filesize's docs the first time your work uses it. Until then, start at the official documentation.

All 9,484