{"adoption": {"forks": 273, "observed_at": "2026-08-28T04:07:57.802464+00:00", "stars": 3350}, "canonical_url": "https://ross.abutalabs.com/products/basketjs", "card": {"archived": false, "artifact_type": "library", "description": "A script and resource loader for caching & loading files with localStorage", "domain": ["web-development", "frontend", "performance"], "enriched": true, "function": ["caching", "http-client"], "health_score": 26, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["addyosmani/basket.js"], "name": "addyosmani/basket.js", "platform": ["browser"], "pushed_at": "2025-03-02T06:16:58+00:00", "repo": "addyosmani/basket.js", "stars": 3350, "tags": ["script-loader", "localstorage", "asset-loading", "promise-based", "javascript"], "topics": [], "urls": [], "use_cases": ["cache javascript scripts in localstorage", "load scripts faster on repeat page visits", "script loader with expiration control", "version cached javascript assets", "preload scripts with promise-based api", "cache css and other resources in the browser"], "what_it_is": "Basket.js is a JavaScript script loader that caches scripts and resources in localStorage to improve page load times. It provides a Promise-based API with support for versioning, expiration, and custom content-type handlers.", "when_to_avoid": ["you rely on modern HTTP caching headers and service workers instead", "your scripts exceed localStorage size limits (~5MB)", "you need to cache assets for non-browser environments"], "when_to_choose": ["you want to skip the HTTP cache and store scripts in localStorage for faster repeat loads", "you need fine-grained control over script caching with versioning and expiration", "you want a small, promise-based script loader"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/basketjs", "repo": "addyosmani/basket.js", "role": "main", "score": 27}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.802464+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:40:57.893803+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "660a2dcac3d4032b97e249fbba4bed2bdd9f4d972a90a5b7a9a2c9bee83e4ea8", "fetched_at": "2026-08-28T04:07:57.802464+00:00", "kind": "readme", "missing": false, "url": "https://github.com/addyosmani/basket.js"}, {"content_hash": "5e6a6909a0c2ac4fd052f88acdce59c7151e0a783f83511817f6066f3ce9941f", "fetched_at": "2026-08-29T09:34:13.433734+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/basket.js"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.802464+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:40:57.893803+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "660a2dcac3d4032b97e249fbba4bed2bdd9f4d972a90a5b7a9a2c9bee83e4ea8", "fetched_at": "2026-08-28T04:07:57.802464+00:00", "kind": "readme", "missing": false, "url": "https://github.com/addyosmani/basket.js"}, {"content_hash": "5e6a6909a0c2ac4fd052f88acdce59c7151e0a783f83511817f6066f3ce9941f", "fetched_at": "2026-08-29T09:34:13.433734+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/basket.js"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:40:57.893803+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "660a2dcac3d4032b97e249fbba4bed2bdd9f4d972a90a5b7a9a2c9bee83e4ea8", "fetched_at": "2026-08-28T04:07:57.802464+00:00", "kind": "readme", "missing": false, "url": "https://github.com/addyosmani/basket.js"}, {"content_hash": "5e6a6909a0c2ac4fd052f88acdce59c7151e0a783f83511817f6066f3ce9941f", "fetched_at": "2026-08-29T09:34:13.433734+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/basket.js"}], "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:07:57.802464+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.802464+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.802464+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:40:57.893803+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "660a2dcac3d4032b97e249fbba4bed2bdd9f4d972a90a5b7a9a2c9bee83e4ea8", "fetched_at": "2026-08-28T04:07:57.802464+00:00", "kind": "readme", "missing": false, "url": "https://github.com/addyosmani/basket.js"}, {"content_hash": "5e6a6909a0c2ac4fd052f88acdce59c7151e0a783f83511817f6066f3ce9941f", "fetched_at": "2026-08-29T09:34:13.433734+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/basket.js"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.802464+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.802464+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:40:57.893803+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "660a2dcac3d4032b97e249fbba4bed2bdd9f4d972a90a5b7a9a2c9bee83e4ea8", "fetched_at": "2026-08-28T04:07:57.802464+00:00", "kind": "readme", "missing": false, "url": "https://github.com/addyosmani/basket.js"}, {"content_hash": "5e6a6909a0c2ac4fd052f88acdce59c7151e0a783f83511817f6066f3ce9941f", "fetched_at": "2026-08-29T09:34:13.433734+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/basket.js"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.802464+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.802464+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.802464+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:40:57.893803+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "660a2dcac3d4032b97e249fbba4bed2bdd9f4d972a90a5b7a9a2c9bee83e4ea8", "fetched_at": "2026-08-28T04:07:57.802464+00:00", "kind": "readme", "missing": false, "url": "https://github.com/addyosmani/basket.js"}, {"content_hash": "5e6a6909a0c2ac4fd052f88acdce59c7151e0a783f83511817f6066f3ce9941f", "fetched_at": "2026-08-29T09:34:13.433734+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/basket.js"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.802464+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.802464+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:40:57.893803+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "660a2dcac3d4032b97e249fbba4bed2bdd9f4d972a90a5b7a9a2c9bee83e4ea8", "fetched_at": "2026-08-28T04:07:57.802464+00:00", "kind": "readme", "missing": false, "url": "https://github.com/addyosmani/basket.js"}, {"content_hash": "5e6a6909a0c2ac4fd052f88acdce59c7151e0a783f83511817f6066f3ce9941f", "fetched_at": "2026-08-29T09:34:13.433734+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/basket.js"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:40:57.893803+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "660a2dcac3d4032b97e249fbba4bed2bdd9f4d972a90a5b7a9a2c9bee83e4ea8", "fetched_at": "2026-08-28T04:07:57.802464+00:00", "kind": "readme", "missing": false, "url": "https://github.com/addyosmani/basket.js"}, {"content_hash": "5e6a6909a0c2ac4fd052f88acdce59c7151e0a783f83511817f6066f3ce9941f", "fetched_at": "2026-08-29T09:34:13.433734+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/basket.js"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:40:57.893803+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "660a2dcac3d4032b97e249fbba4bed2bdd9f4d972a90a5b7a9a2c9bee83e4ea8", "fetched_at": "2026-08-28T04:07:57.802464+00:00", "kind": "readme", "missing": false, "url": "https://github.com/addyosmani/basket.js"}, {"content_hash": "5e6a6909a0c2ac4fd052f88acdce59c7151e0a783f83511817f6066f3ce9941f", "fetched_at": "2026-08-29T09:34:13.433734+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/basket.js"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:40:57.893803+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "660a2dcac3d4032b97e249fbba4bed2bdd9f4d972a90a5b7a9a2c9bee83e4ea8", "fetched_at": "2026-08-28T04:07:57.802464+00:00", "kind": "readme", "missing": false, "url": "https://github.com/addyosmani/basket.js"}, {"content_hash": "5e6a6909a0c2ac4fd052f88acdce59c7151e0a783f83511817f6066f3ce9941f", "fetched_at": "2026-08-29T09:34:13.433734+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/basket.js"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 9, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5299, "days_push": 549, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 27, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}