Search results

1000+ packages found

A React hook that allows you to use a ResizeObserver to measure an element's size.

published version 9.1.0, 2 years ago354 dependents licensed under $MIT
9,406,313

React hook to handle DOM element size

published version 1.3.5, 6 years ago6 dependents licensed under $ISC
12,343

React hook to measure an element's size and handle responsive components.

published version 3.0.1, 2 years ago78 dependents licensed under $MIT
219,199

React Hook to monitor window size & layout.

published version 1.1.22, 5 years ago2 dependents licensed under $MIT
2,333

React Hook to figure out DOM Element dimensions with updates

published version 2.1.3, 4 years ago5 dependents licensed under $MIT
11,942

React hook for subscribing to window size

published version 1.0.2, 7 years ago12 dependents licensed under $MIT
2,674

React Hook to get DOM Element `BoundingClientRect` together with the `page offset` snapshot, that covers all your needs. What makes the package different - You can trigger an update when you really need it.

published version 1.4.0, 3 years ago1 dependents licensed under $MIT
1,131

React hook for tracking element size (540 bytes)

published version 1.2.2, 4 years ago0 dependents licensed under $MIT
1,777

Simple React Hook utility for identifying and working with screen sizes.

published version 1.0.3, 2 years ago0 dependents licensed under $MIT
349

Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

published version 6.0.0, 2 years ago1201 dependents licensed under $MIT
143,125,771

JavaScript library to generate a human readable String describing the file size

published version 10.1.6, 9 months ago2401 dependents licensed under $BSD-3-Clause
51,694,458

Convert bytes to a human readable string: 1337 → 1.34 kB

published version 7.0.0, 22 days ago1944 dependents licensed under $MIT
65,929,557

A Minipass stream that raises an error if you get a different number of bytes than expected

published version 1.0.3, 6 years ago145 dependents licensed under $ISC
57,992,571

get dimensions of any image file

published version 2.0.2, 2 months ago2560 dependents licensed under $MIT
54,639,609

Get the gzipped size of a string or buffer

published version 7.0.0, 3 years ago1318 dependents licensed under $MIT
53,788,543

Use logical properties and values in CSS

published version 8.1.0, 3 months ago224 dependents licensed under $MIT-0
24,960,077

Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap

published version 4.10.2, a year ago3288 dependents licensed under $MIT
28,385,008

Tracks the download progress of a request made with mikeal/request, giving insight of various metrics including progress percent, download speed and time remaining

published version 3.0.0, 8 years ago439 dependents licensed under $MIT
25,623,032

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.

published version 1.1.1, 7 years ago325 dependents licensed under $MIT
13,444,802

Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.

published version 9.0.1, 6 months ago182 dependents licensed under $MIT
8,877,077