callmecavs/layzr.js
A modern lazy loading library for images. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4165
- days_rel: n/a
- days_push: 3230
- n_releases_24m: 0
Adoption not part of the score
5498 stars · 232 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Layzr.js is a small JavaScript library for lazy loading images on web pages. It defers image loading until elements scroll into view and selects the best source via srcset support or devicePixelRatio-based retina fallbacks.
Use cases
- lazy load images as the user scrolls
- defer offscreen image loading to speed up page load
- serve retina images only on high-dpi screens
- use srcset with a fallback for older browsers
- reduce initial bandwidth on image-heavy pages
When to choose
- you need a tiny, dependency-free vanilla JS lazy loader
- you must support browsers without native srcset via retina fallbacks
- you want configurable data attributes and scroll events
When to avoid
- your target browsers support native loading='lazy'
- you need an actively maintained library with recent fixes
- you use a framework with built-in lazy loading (e.g., next/image)
Facets
library · maturity abandoned
image-processing ui-components web-development frontend performance browser lazy-loading images srcset retina scroll vanilla-js nodejs
2 sources
- readme: https://github.com/callmecavs/layzr.js · fetched 2026-08-28 · 9291b3472e62
- registry_npm: https://registry.npmjs.org/layzr.js · fetched 2026-08-29 · b09a9e33094a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| callmecavs/layzr.js | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="callmecavs/layzr.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem