{"adoption": {"forks": 63, "observed_at": "2026-08-28T04:05:48.646939+00:00", "stars": 1881}, "canonical_url": "https://ross.abutalabs.com/products/img-2", "card": {"archived": false, "artifact_type": "library", "description": "Replace <img /> elements with <img-2> to automatically pre-cache images and improve page performance.", "domain": ["web-development", "frontend", "performance"], "enriched": true, "function": ["image-processing", "ui-components", "caching"], "health_score": 20, "homepage": null, "language": "HTML", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["RevillWeb/img-2"], "name": "RevillWeb/img-2", "platform": ["browser"], "pushed_at": "2018-05-22T16:11:30+00:00", "repo": "RevillWeb/img-2", "stars": 1881, "tags": ["web-components", "lazy-loading", "image-optimization", "custom-elements", "web-worker", "progressive-image-loading", "web-server"], "topics": [], "urls": [], "use_cases": ["lazy load images as they scroll into view", "pre-cache images with a web worker to avoid jank", "show blurred placeholder previews while images load", "improve initial page load performance with many images", "replace img tags with a drop-in web component"], "what_it_is": "Img2 is a web component library that replaces standard <img> elements with an <img-2> custom element to pre-cache images off the main thread and lazy load them as they enter the viewport. It displays blurred low-resolution previews while full-size images load, improving perceived page performance.", "when_to_avoid": ["you need an actively maintained solution - the project has had no releases since 2018", "you already use a modern framework with built-in image optimization or a maintained lazy-loading library", "you need advanced features like responsive srcset or art direction"], "when_to_choose": ["you want a simple drop-in replacement for <img> with lazy loading and pre-caching", "your page displays many high-quality images and suffers from slow initial load or jank", "you want blurred placeholder previews without writing custom JavaScript"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/img-2", "repo": "RevillWeb/img-2", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.646939+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:13:57.856559+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60ff5dcd256945f24ee5b028a71c2063098d189990e82b1c7ba921cd495d9a18", "fetched_at": "2026-08-28T04:05:48.646939+00:00", "kind": "readme", "missing": false, "url": "https://github.com/RevillWeb/img-2"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.646939+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:13:57.856559+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60ff5dcd256945f24ee5b028a71c2063098d189990e82b1c7ba921cd495d9a18", "fetched_at": "2026-08-28T04:05:48.646939+00:00", "kind": "readme", "missing": false, "url": "https://github.com/RevillWeb/img-2"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:13:57.856559+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60ff5dcd256945f24ee5b028a71c2063098d189990e82b1c7ba921cd495d9a18", "fetched_at": "2026-08-28T04:05:48.646939+00:00", "kind": "readme", "missing": false, "url": "https://github.com/RevillWeb/img-2"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.646939+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.646939+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.646939+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:13:57.856559+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60ff5dcd256945f24ee5b028a71c2063098d189990e82b1c7ba921cd495d9a18", "fetched_at": "2026-08-28T04:05:48.646939+00:00", "kind": "readme", "missing": false, "url": "https://github.com/RevillWeb/img-2"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.646939+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.646939+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:13:57.856559+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60ff5dcd256945f24ee5b028a71c2063098d189990e82b1c7ba921cd495d9a18", "fetched_at": "2026-08-28T04:05:48.646939+00:00", "kind": "readme", "missing": false, "url": "https://github.com/RevillWeb/img-2"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.646939+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.646939+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.646939+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:13:57.856559+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60ff5dcd256945f24ee5b028a71c2063098d189990e82b1c7ba921cd495d9a18", "fetched_at": "2026-08-28T04:05:48.646939+00:00", "kind": "readme", "missing": false, "url": "https://github.com/RevillWeb/img-2"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.646939+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.646939+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:13:57.856559+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60ff5dcd256945f24ee5b028a71c2063098d189990e82b1c7ba921cd495d9a18", "fetched_at": "2026-08-28T04:05:48.646939+00:00", "kind": "readme", "missing": false, "url": "https://github.com/RevillWeb/img-2"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:13:57.856559+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60ff5dcd256945f24ee5b028a71c2063098d189990e82b1c7ba921cd495d9a18", "fetched_at": "2026-08-28T04:05:48.646939+00:00", "kind": "readme", "missing": false, "url": "https://github.com/RevillWeb/img-2"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:13:57.856559+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60ff5dcd256945f24ee5b028a71c2063098d189990e82b1c7ba921cd495d9a18", "fetched_at": "2026-08-28T04:05:48.646939+00:00", "kind": "readme", "missing": false, "url": "https://github.com/RevillWeb/img-2"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:13:57.856559+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "60ff5dcd256945f24ee5b028a71c2063098d189990e82b1c7ba921cd495d9a18", "fetched_at": "2026-08-28T04:05:48.646939+00:00", "kind": "readme", "missing": false, "url": "https://github.com/RevillWeb/img-2"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3188, "days_push": 3025, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}