que-etc/resize-observer-polyfill
A polyfill for the Resize Observer API observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3684
- days_rel: n/a
- days_push: 1314
- n_releases_24m: 0
Adoption not part of the score
1752 stars · 130 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A lightweight (2.44 KiB gzipped) polyfill/ponyfill for the browser Resize Observer API, implemented with MutationObserver and Mutation Events fallbacks. It lets JavaScript code observe element size changes without polling, including changes from CSS transitions, animations, and pseudo-classes.
Use cases
- observe element size changes in browsers lacking ResizeObserver support
- react to element resizing caused by CSS transitions or animations
- detect size changes from dynamic pseudo-classes like :hover
- support legacy browsers like IE9-IE11 with resize observation
- use ResizeObserver as a ponyfill without modifying the global object
When to choose
- you need ResizeObserver functionality in older browsers (IE9+, older Safari/Firefox)
- you want a tiny, spec-compliant ponyfill that avoids global object pollution
- your app must react to size changes without polling or modifying observed elements
When to avoid
- your target browsers all natively support ResizeObserver
- you need a maintained library with ongoing updates (last release Jan 2023)
- you need to observe size changes in non-DOM environments like Node.js
Facets
library · maturity maintenance
ui-components developer-tools web-development frontend browser-extensions browser cross-platform resize-observer polyfill ponyfill dom javascript mutation-observer
2 sources
- readme: https://github.com/que-etc/resize-observer-polyfill · fetched 2026-08-28 · d678b09201f5
- registry_npm: https://registry.npmjs.org/resize-observer-polyfill · fetched 2026-08-29 · aabc53c1d093
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| que-etc/resize-observer-polyfill | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="que-etc/resize-observer-polyfill")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem