Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap
Keep watch of your bundle size
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
JavaScript library to generate a human readable String describing the file size
Convert bytes to a human readable string: 1337 → 1.34 kB
A Minipass stream that raises an error if you get a different number of bytes than expected
Get the gzipped size of a string or buffer
get dimensions of any image file
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
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.
A React hook that allows you to use a ResizeObserver to measure an element's size.
- react
- hook
- react hook
- resize observer
- resize observer hook
- resize observer react hook
- use-resize-observer
- useresizeobserver
- resize hook
- size hook
- container query
- css in js
- measure
- size
Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.
Buffer and transform the n first bytes of a stream
Detab: tabs -> spaces
Get image size without full download (JPG, GIF, PNG, WebP, BMP, TIFF, PSD)
Takes an array of numbers and calculates some descriptive statistics
DOM element size sensor which will callback when size changed.
Apply a size limit to a Map class or instance
measures element size