fregante / image-promise
๐๐ค Load one or more images, return a promise. Tiny, browser-only, no dependencies.
โ147Updated 5 months ago
Related projects โ
Alternatives and complementary repositories for image-promise
- A tiny (255B) shim when Element.classList cannot be used~!โ62Updated 5 years ago
- A tiny (178B) helper for playing, pausing, and setting `requestAnimationFrame` frame ratesโ82Updated 4 years ago
- Parse and stringify the HTML <img> srcset attributeโ138Updated 9 months ago
- Detect support for WEBP images in the browser in 0.3KBโ111Updated 2 years ago
- Events for `position: sticky`โ108Updated 3 weeks ago
- ๐ฉโ๐งโ๐ฆ PostCSS plugin to reference any parent/ancestor selector in nested CSS.โ102Updated last week
- CSSplus is a collection of CSS Reprocessor plugins that dynamically update CSS variablesโ144Updated 5 years ago
- Retrieve a consistent, accurate window.innerHeight measurement from iOSโ195Updated 3 years ago
- Replicate `background-size: cover/contain` for canvas/CSS/Node/โฆ on any type of media.โ77Updated this week
- Parcel image minification pluginโ129Updated 4 years ago
- Light cross-browser scroller that uses native javascriptโ230Updated last year
- A polyfill for the 'scroll-behavior' CSS-propertyโ102Updated 3 years ago
- Use env() variables in CSSโ54Updated 2 years ago
- A (329B) client-side image resizer.โ91Updated 4 years ago
- A small (376B) lazy function scheduler for a butter smooth main thread.โ80Updated 4 years ago
- Automatically expand a <textarea> to fit its content, in a few bytesโ78Updated 3 years ago
- ๐ญ A tiny 250b scroll listener with progress.โ351Updated 5 years ago
- A PostCSS plugin to fix an element's dimensions to an aspect ratio.โ40Updated 5 years ago
- A lightweight JavaScript library for measuring and comparing the dimensions and distances of DOM elements.โ152Updated 11 months ago
- Microscopic & functional event emitter in ~350 bytes, extensible through plugins.โ109Updated 6 months ago
- Tiny utility (365B) to create DOM elements with manner.โ227Updated last month
- 1kb script that will make your DOM state transitions smoother & easierโ72Updated 6 years ago
- A small, standalone JavaScript library for working with ranges of numbers.โ89Updated 6 years ago
- Polyfill for the "History API: Scroll Restoration"โ69Updated 5 years ago
- The smallest possible slug utility for Node.js and Browserโ63Updated last year
- A tiny, dependency-free, high performance viewport position & intersection observation toolโ43Updated 3 years ago
- ๐จ Modern JavaScript color utilities libraryโ80Updated last year
- PostCSS plugin to transform W3C CSS font-family: system-ui to a practical font-family listโ94Updated last week
- A 0.3kB JavaScript library for creating DOM structures (JSX compatible, JSDOM compatible)โ47Updated 5 years ago
- Reactive leases for data subscriptionsโ140Updated 5 years ago