# tuupola/lazyload

Vanilla JavaScript plugin for lazyloading images

Repository: https://github.com/tuupola/lazyload
Canonical: https://ross.abutalabs.com/products/lazyload
Homepage: https://appelsiini.net/projects/lazyload/
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-12-05T01:36:15+00:00

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

## Adoption (not part of the score)
Stars 8708, forks 2164 (observed 2026-08-28T04:10:24.333812+00:00)

## What it is
A vanilla JavaScript plugin that lazyloads images by deferring loading until they enter the viewport, using the Intersection Observer API. It is a modern rewrite of the original jQuery Lazy Load plugin and includes a jQuery wrapper for backward compatibility.

## Use cases
- lazy load images on long web pages
- defer image loading until user scrolls
- improve page load performance for image-heavy sites
- replace jQuery lazyload with vanilla JS
- load images only when they enter the viewport

## When to choose
- you want a small dependency-free vanilla JS lazyloader
- you need a drop-in replacement for the old jQuery lazyload plugin
- your target browsers support Intersection Observer

## When to avoid
- you need native loading='lazy' attribute support only
- you must support very old browsers without Intersection Observer
- you need lazyloading of iframes, videos, or background images

## Facets
- artifact type: plugin
- maturity: maintenance
- function: image-processing, frontend-framework
- domain: web-development, frontend, performance
- platform: browser
- tags: lazy-loading, intersection-observer, vanilla-js, jquery-wrapper, images, javascript

## Member repositories
- tuupola/lazyload (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:24.333812+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-29T17:25:22.720419+00:00, confidence not recorded.
  - readme: https://github.com/tuupola/lazyload (fetched 2026-08-28T04:10:24.333812+00:00, sha 61d4b8d0b3fd)
  - homepage: https://appelsiini.net/projects/lazyload/ (fetched 2026-08-29T08:26:05.428493+00:00, sha 80f2584c2fbc)
  - registry_npm: https://registry.npmjs.org/lazyload (fetched 2026-08-29T08:26:05.432629+00:00, sha 033d7213d818)
- Data as of 2026-08-30T08:39:29.467469+00:00.
