Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
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
A Minipass stream that raises an error if you get a different number of bytes than expected
Convert bytes to a human readable string: 1337 → 1.34 kB
get dimensions of any image file
Get the gzipped size of a string or buffer
Use logical properties and values in CSS
Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap
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.
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
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
Get the brotli compressed size of a string or buffer
DOM element size sensor which will callback when size changed.
Apply a size limit to a Map class or instance
measures element size