ApoorvSaxena/lozad.js
🔥 Highly performant, light ~1kb and configurable lazy loader in pure JS with no dependencies for responsive images, iframes and more observed · 2026-08-28
Health v2 · maintenance only
46/100
- Activity 52
- 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-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3292
- days_rel: n/a
- days_push: 288
- n_releases_24m: 0
Adoption not part of the score
7494 stars · 435 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Lozad.js is a lightweight (~1kb) pure JavaScript lazy-loading library with no dependencies, built on the IntersectionObserver and MutationObserver APIs. It lazily loads images, iframes, videos, audios, background images, and responsive images, including dynamically added elements and LQIP placeholders.
Use cases
- lazy load images on scroll for faster page loads
- defer loading of iframes and embedded ads
- lazy load videos and audio elements
- implement responsive image loading with picture elements
- lazy load background images including multiple backgrounds
- use low quality image placeholders (LQIP)
- lazy load dynamically added DOM elements
When to choose
- you need a tiny, dependency-free lazy loader for a website
- you want broad element support (img, picture, iframe, video, audio, backgrounds)
- you need to lazy load dynamically inserted content
- browser support for IntersectionObserver is acceptable
When to avoid
- you need to support very old browsers without IntersectionObserver and cannot polyfill
- you need advanced features like native loading='lazy' alternatives or scroll-position-based fallbacks
- you need a framework-specific lazy loading solution with built-in integration
Facets
library · maturity stable
image-processing developer-tools web-development frontend performance browser lazy-loading intersection-observer zero-dependency responsive-images performance-optimization nodejs
2 sources
- readme: https://github.com/ApoorvSaxena/lozad.js · fetched 2026-08-28 · 5eaf6d2d85e2
- homepage: https://apoorv.pro/lozad.js/demo/ · fetched 2026-08-29 · e14d9b689462
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ApoorvSaxena/lozad.js | main | 46 |
For agents
markdown · JSON · MCP: product_card(name="ApoorvSaxena/lozad.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem