[go: up one dir, main page]

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, a year ago1165 dependents licensed under $MIT
124,557,527

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

published version 6.1.1, a year ago1870 dependents licensed under $MIT
57,765,774

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

published version 1.0.3, 5 years ago135 dependents licensed under $ISC
46,779,511

Get the gzipped size of a string or buffer

published version 7.0.0, 3 years ago1304 dependents licensed under $MIT
46,778,571

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

published version 10.1.6, 3 months ago2343 dependents licensed under $BSD-3-Clause
43,737,864

get dimensions of any image file

published version 1.1.1, a year ago2444 dependents licensed under $MIT
44,361,363

Use logical properties and values in CSS

published version 8.0.0, 4 months ago225 dependents licensed under $MIT-0
22,252,459

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

published version 4.10.2, 8 months ago3254 dependents licensed under $MIT
26,149,900

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, 6 years ago324 dependents licensed under $MIT
17,907,199

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 ago438 dependents licensed under $MIT
22,018,428

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

published version 9.1.0, 2 years ago335 dependents licensed under $MIT
9,515,182

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.0, 4 months ago176 dependents licensed under $MIT
7,768,320

Buffer and transform the n first bytes of a stream

published version 6.0.0, a year ago42 dependents licensed under $MIT
7,105,121

Detab: tabs -> spaces

published version 3.0.2, 2 years ago74 dependents licensed under $MIT
6,023,830

Takes an array of numbers and calculates some descriptive statistics

published version 2.1.0, 4 years ago22 dependents licensed under $MIT
3,058,070

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

published version 7.2.3, 3 years ago296 dependents licensed under $MIT
2,348,225

Apply a size limit to a Map class or instance

published version 1.0.0, 5 years ago1 dependents licensed under $MIT
1,204,625

Get the brotli compressed size of a string or buffer

published version 4.0.0, 5 years ago145 dependents licensed under $MIT
1,164,126

DOM element size sensor which will callback when size changed.

published version 1.0.2, a year ago92 dependents licensed under $ISC
1,314,625

measures element size

published version 3.0.0, 3 years ago37 dependents licensed under $MIT
1,163,032