# toddmotto/echo

Lazy-loading images with data-* attributes

Repository: https://github.com/toddmotto/echo
Canonical: https://ross.abutalabs.com/products/toddmotto-echo
Homepage: http://toddmotto.com/labs/echo
Language: JavaScript
License Family: other
Last push: 2026-02-13T20:24:51+00:00

## Health v2 (maintenance only)
Score: 53/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 67, release rhythm 8, longevity 100
- inputs: {"age_days": 4771, "days_push": 201, "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 3696, forks 493 (observed 2026-08-28T04:08:14.876589+00:00)

## What it is
Echo.js is a standalone 2KB JavaScript micro-library for lazy-loading images using HTML5 data-* attributes. It supports lazy-loading of both img tags and background images with configurable offsets and throttled scroll handling.

## Use cases
- lazy load images as the user scrolls
- defer loading of below-the-fold images
- lazy load background images via data attributes
- improve page load performance on image-heavy pages
- load images only when they approach the viewport

## When to choose
- you need a tiny dependency-free lazy-loading solution for legacy browsers like IE8+
- you want simple data-attribute-based image lazy loading without a framework

## When to avoid
- you need modern native loading='lazy' or IntersectionObserver-based solutions
- you need active maintenance or support for modern frameworks
- you need lazy loading of iframes, videos, or other media types

## Facets
- artifact type: library
- maturity: abandoned
- function: image-processing, ui-components
- domain: web-development, frontend, performance
- platform: browser
- tags: lazy-loading, images, micro-library, data-attributes, vanilla-js, javascript

## Member repositories
- toddmotto/echo (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:14.876589+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-29T18:31:05.040061+00:00, confidence not recorded.
  - readme: https://github.com/toddmotto/echo (fetched 2026-08-28T04:08:14.876589+00:00, sha 3acd4f66207b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
