# ivopetkov/responsively-lazy

Lazy load responsive images and HTML

Repository: https://github.com/ivopetkov/responsively-lazy
Canonical: https://ross.abutalabs.com/products/responsively-lazy
Homepage: https://ivopetkov.com/responsively-lazy/
Language: JavaScript
License Family: other
Topics: lazy-loading, webp, css, html, javascript, lazyloading, lazy, lazy-load, lazyload-images, lazyload
Last push: 2025-09-09T16:57:55+00:00

## Health v2 (maintenance only)
Score: 41/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 41, release rhythm 8, longevity 100
- inputs: {"age_days": 4032, "days_push": 358, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1092, forks 44 (observed 2026-08-28T04:03:33.196668+00:00)

## What it is
A tiny dependency-free JavaScript library (2.5kb gzipped) for truly lazy loading responsive images, background images, and HTML. It is SEO friendly, supports WebP and AVIF formats, and avoids unnecessary network requests.

## Use cases
- lazy load responsive images on a website
- defer loading images below the fold to improve page speed
- serve webp or avif images with fallbacks
- lazy load background images
- lazy load HTML fragments containing JavaScript
- improve SEO while lazy loading images

## When to choose
- you need a lightweight, dependency-free lazy loading solution
- SEO matters and you want valid HTML with a real src fallback
- you want to serve modern image formats like WebP and AVIF with fallbacks
- you need to lazy load HTML or background images, not just img tags

## When to avoid
- you prefer native loading="lazy" and browser-level srcset support
- you need a framework-specific solution (React/Vue components)
- you require IntersectionObserver-based APIs with fine-grained callbacks

## Facets
- artifact type: library
- maturity: stable
- function: image-processing, developer-tools
- domain: web-development, frontend, performance
- platform: browser
- tags: lazy-loading, responsive-images, webp, avif, seo-friendly, vanilla-javascript, no-dependencies, nodejs

## Member repositories
- ivopetkov/responsively-lazy (main) score 41

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:33.196668+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:49:02.630385+00:00, confidence not recorded.
  - readme: https://github.com/ivopetkov/responsively-lazy (fetched 2026-08-28T04:03:33.196668+00:00, sha 6c39746da072)
  - homepage: https://ivopetkov.com/responsively-lazy/ (fetched 2026-08-29T12:51:03.544074+00:00, sha 1ade762dbce1)
  - registry_npm: https://registry.npmjs.org/responsively-lazy (fetched 2026-08-29T12:51:03.547612+00:00, sha 61ac03ce1051)
- Data as of 2026-08-30T08:39:29.467469+00:00.
