Search results

1000+ packages found

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

published version 6.0.0, 2 years ago1199 dependents licensed under $MIT
138,417,862

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

published version 10.1.6, 8 months ago2392 dependents licensed under $BSD-3-Clause
49,998,526

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

published version 1.0.3, 6 years ago144 dependents licensed under $ISC
57,744,306

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

published version 6.1.1, 2 years ago1928 dependents licensed under $MIT
64,733,712

get dimensions of any image file

published version 2.0.2, 23 days ago2552 dependents licensed under $MIT
54,572,406

Get the gzipped size of a string or buffer

published version 7.0.0, 3 years ago1315 dependents licensed under $MIT
52,949,964

Use logical properties and values in CSS

published version 8.1.0, 2 months ago224 dependents licensed under $MIT-0
24,916,147

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

published version 4.10.2, a year ago3278 dependents licensed under $MIT
29,776,650

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 ago440 dependents licensed under $MIT
25,195,982

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,114,635

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, 5 months ago180 dependents licensed under $MIT
8,399,438

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

published version 9.1.0, 2 years ago349 dependents licensed under $MIT
9,811,402

Buffer and transform the n first bytes of a stream

published version 6.0.0, a year ago44 dependents licensed under $MIT
6,471,287

Detab: tabs -> spaces

published version 3.0.2, 2 years ago75 dependents licensed under $MIT
6,273,367

Takes an array of numbers and calculates some descriptive statistics

published version 2.1.0, 5 years ago21 dependents licensed under $MIT
5,095,034

Get image size without full download (JPG, GIF, PNG, WebP, BMP, TIFF, PSD)

published version 7.2.3, 3 years ago304 dependents licensed under $MIT
2,870,965

DOM element size sensor which will callback when size changed.

published version 1.0.2, 2 years ago95 dependents licensed under $ISC
1,631,294

Apply a size limit to a Map class or instance

published version 1.0.0, 6 years ago1 dependents licensed under $MIT
1,386,668

measures element size

published version 3.0.0, 3 years ago37 dependents licensed under $MIT
1,358,498

Get the brotli compressed size of a string or buffer

published version 4.0.0, 6 years ago146 dependents licensed under $MIT
1,290,363