filesize
JavaScript library to generate a human readable String describing the file size
webpack-bundle-analyzer
Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap
byte-size
Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.
string-length
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes