Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
string-length
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
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
minipass-sized
A Minipass stream that raises an error if you get a different number of bytes than expected
image-size
get dimensions of any image file
gzip-size
Get the gzipped size of a string or buffer
postcss-logical
Use logical properties and values in CSS
webpack-bundle-analyzer
Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap
request-progress
Tracks the download progress of a request made with mikeal/request, giving insight of various metrics including progress percent, download speed and time remaining
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.
window-size
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.
use-resize-observer
A React hook that allows you to use a ResizeObserver to measure an element's size.
first-chunk-stream
Buffer and transform the n first bytes of a stream
detab
Detab: tabs -> spaces
probe-image-size
Get image size without full download (JPG, GIF, PNG, WebP, BMP, TIFF, PSD)
summary
Takes an array of numbers and calculates some descriptive statistics
brotli-size
Get the brotli compressed size of a string or buffer
mapcap
Apply a size limit to a Map class or instance
size-sensor
DOM element size sensor which will callback when size changed.
get-size
measures element size