Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Reliably get the terminal window size (columns & rows)
Get the gzipped size of a string or buffer
Convert bytes to a human readable string: 1337 → 1.34 kB
Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.
get dimensions of any image file
Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap
Use logical properties and values in CSS
Tracks the download progress of a request made with mikeal/request, giving insight of various metrics including progress percent, download speed and time remaining
Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.
Detab: tabs -> spaces
Buffer and transform the n first bytes of a stream
A Minipass stream that raises an error if you get a different number of bytes than expected
Get image size without full download (JPG, GIF, PNG, WebP, BMP, TIFF, PSD)
Compute measurements of React components.
Get the brotli compressed size of a string or buffer
The lodash method `_.size` exported as a module.
measures element size
Get free disk space info from `df -kP`