Search results
135 packages found
A utility function to estimate the memory size of objects in JavaScript, compatible with both Node.js and browser environments.
Replicate background-size: cover/contain (scale+crop) for canvas/CSS/Node/… on any type of media.
React HOC that passes browser window size to wrapped component
Find the size of a scrollbar in the browser.
Sentence similarity algorithm.
Array filtering using buckets. Allows infinite buckets, bucket size limit, keeps input order and discards unmatched elements.
- array
- browserify
- filter
- browser
- reduce
- bucket
- limit
- sort
- lodash
- match
- search
- length
- filtering
- conditions
- View more
[![Downloads][downloads-badge]][downloads] [![Size][size-badge]][size]
- trim
- collection.es6
- cli
- validate
- jsonschema
- Reflect.getPrototypeOf
- Object.fromEntries
- negative
- classes
- typed array
- react pose
- ECMAScript 2021
- polyfill
- ECMAScript 2022
- View more
Compress images in the browser
Compress images in the browser
[![npm version][npm-image]][npm-url] [![downloads][downloads-image]][npm-url] [![build status][build-image]][build-url] [![minzipped size][bundlephobia-image]][bundlephobia-url] [![Dependency count][depcount-image]][npm-url]
- ES2023
- error
- toolkit
- function
- ast
- width
- ECMAScript 2019
- accessibility
- tostringtag
- ES2022
- xdg-open
- asserts
- Float64Array
- cors
- View more
Compress images in the browser
Hook for monitoring the size of the current active browser window
An efficient text measurement set for the browser.
Reads, searches and navigates HTML5/Node.JS text files of any size in the browser or backend
image-size-native es una libreria ligera para Javascript que proporciona una manera eficiente y nativa de obtener dimensiones (ancho y alto) de imágenes. Elimina la necesidad de dependencias externas al aprovechar las capacidades nativas del navegador o e
- image size
- native
- Javascript
- dimesions
- widht
- height
- image info
- browser
- runtime
- performance
- frontend
- development
- responsive image
[![Downloads][downloads-badge]][downloads] [![Size][size-badge]][size]
- batch
- internal
- jsdiff
- Int32Array
- website
- querystring
- visual
- wget
- tty
- iterator
- callback
- curl
- opens
- flatten
- View more
Get the size of an element in pixels, including margins
Get the window size of the browser and throttled resize events.
[![npm version][npm-image]][npm-url] [![downloads][downloads-image]][npm-url] [![build status][build-image]][build-url] [![minzipped size][bundlephobia-image]][bundlephobia-url] [![Dependency count][depcount-image]][npm-url]
- chrome
- throttle
- debugger
- ES2018
- JSON
- nope
- name
- Rx
- Object.getPrototypeOf
- 256
- internal
- create
- bluebird
- es7
- View more
Strictly typed EventTarget that directly extends EventTarget to function as a drop-in replacement. It works with all Event-Types and accounts for basically no additional bundle-size.