{"adoption": {"forks": 63, "observed_at": "2026-08-28T04:04:18.514899+00:00", "stars": 1304}, "canonical_url": "https://ross.abutalabs.com/products/bottlejs", "card": {"archived": false, "artifact_type": "library", "description": "A powerful dependency injection micro container for JavaScript applications", "domain": ["developer-tools", "web-development"], "enriched": true, "function": ["middleware", "plugin-system"], "health_score": 66, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["young-steveo/bottlejs"], "name": "young-steveo/bottlejs", "platform": ["browser", "cross-platform"], "pushed_at": "2026-04-15T10:02:33+00:00", "repo": "young-steveo/bottlejs", "stars": 1304, "tags": ["dependency-injection", "service-locator", "di-container", "micro-library", "lazy-loading", "decorators", "javascript", "nodejs"], "topics": ["dependency-injection", "javascript", "container", "service-locator", "decorators", "middleware"], "urls": [], "use_cases": ["manage dependency injection in a JavaScript app", "replace a kitchen-sink framework with composable components", "lazily instantiate services on first access", "register and resolve services with dependencies", "decouple objects using a service locator pattern", "add middleware hooks around service resolution"], "what_it_is": "BottleJS is a tiny dependency injection container for JavaScript applications, inspired by the AngularJS Module API and PHP's Pimple. It supports lazy loading, middleware hooks, decorators, and service registration in both browser and Node.js environments.", "when_to_avoid": ["you are already using a framework with built-in DI like Angular or NestJS", "you need advanced features like scoped lifetimes or async injection", "you prefer compile-time type-based DI in TypeScript"], "when_to_choose": []}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/bottlejs", "repo": "young-steveo/bottlejs", "role": "main", "score": 57}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.514899+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:51:09.499997+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96a06ebc60ba0c41579e3722531f3d4b24da0eab43d4e80fd98399b4fad875bd", "fetched_at": "2026-08-28T04:04:18.514899+00:00", "kind": "readme", "missing": false, "url": "https://github.com/young-steveo/bottlejs"}, {"content_hash": "0c3f7e1dd283548c5ce53769d19fddc87e76ed32dbb737d3768800ebd232759f", "fetched_at": "2026-08-29T12:09:24.044362+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bottlejs"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.514899+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:51:09.499997+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96a06ebc60ba0c41579e3722531f3d4b24da0eab43d4e80fd98399b4fad875bd", "fetched_at": "2026-08-28T04:04:18.514899+00:00", "kind": "readme", "missing": false, "url": "https://github.com/young-steveo/bottlejs"}, {"content_hash": "0c3f7e1dd283548c5ce53769d19fddc87e76ed32dbb737d3768800ebd232759f", "fetched_at": "2026-08-29T12:09:24.044362+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bottlejs"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:51:09.499997+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96a06ebc60ba0c41579e3722531f3d4b24da0eab43d4e80fd98399b4fad875bd", "fetched_at": "2026-08-28T04:04:18.514899+00:00", "kind": "readme", "missing": false, "url": "https://github.com/young-steveo/bottlejs"}, {"content_hash": "0c3f7e1dd283548c5ce53769d19fddc87e76ed32dbb737d3768800ebd232759f", "fetched_at": "2026-08-29T12:09:24.044362+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bottlejs"}], "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:04:18.514899+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.514899+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.514899+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:51:09.499997+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96a06ebc60ba0c41579e3722531f3d4b24da0eab43d4e80fd98399b4fad875bd", "fetched_at": "2026-08-28T04:04:18.514899+00:00", "kind": "readme", "missing": false, "url": "https://github.com/young-steveo/bottlejs"}, {"content_hash": "0c3f7e1dd283548c5ce53769d19fddc87e76ed32dbb737d3768800ebd232759f", "fetched_at": "2026-08-29T12:09:24.044362+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bottlejs"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.514899+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.514899+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:51:09.499997+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96a06ebc60ba0c41579e3722531f3d4b24da0eab43d4e80fd98399b4fad875bd", "fetched_at": "2026-08-28T04:04:18.514899+00:00", "kind": "readme", "missing": false, "url": "https://github.com/young-steveo/bottlejs"}, {"content_hash": "0c3f7e1dd283548c5ce53769d19fddc87e76ed32dbb737d3768800ebd232759f", "fetched_at": "2026-08-29T12:09:24.044362+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bottlejs"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.514899+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.514899+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.514899+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:51:09.499997+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96a06ebc60ba0c41579e3722531f3d4b24da0eab43d4e80fd98399b4fad875bd", "fetched_at": "2026-08-28T04:04:18.514899+00:00", "kind": "readme", "missing": false, "url": "https://github.com/young-steveo/bottlejs"}, {"content_hash": "0c3f7e1dd283548c5ce53769d19fddc87e76ed32dbb737d3768800ebd232759f", "fetched_at": "2026-08-29T12:09:24.044362+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bottlejs"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.514899+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.514899+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:51:09.499997+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96a06ebc60ba0c41579e3722531f3d4b24da0eab43d4e80fd98399b4fad875bd", "fetched_at": "2026-08-28T04:04:18.514899+00:00", "kind": "readme", "missing": false, "url": "https://github.com/young-steveo/bottlejs"}, {"content_hash": "0c3f7e1dd283548c5ce53769d19fddc87e76ed32dbb737d3768800ebd232759f", "fetched_at": "2026-08-29T12:09:24.044362+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bottlejs"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:51:09.499997+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96a06ebc60ba0c41579e3722531f3d4b24da0eab43d4e80fd98399b4fad875bd", "fetched_at": "2026-08-28T04:04:18.514899+00:00", "kind": "readme", "missing": false, "url": "https://github.com/young-steveo/bottlejs"}, {"content_hash": "0c3f7e1dd283548c5ce53769d19fddc87e76ed32dbb737d3768800ebd232759f", "fetched_at": "2026-08-29T12:09:24.044362+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bottlejs"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:51:09.499997+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96a06ebc60ba0c41579e3722531f3d4b24da0eab43d4e80fd98399b4fad875bd", "fetched_at": "2026-08-28T04:04:18.514899+00:00", "kind": "readme", "missing": false, "url": "https://github.com/young-steveo/bottlejs"}, {"content_hash": "0c3f7e1dd283548c5ce53769d19fddc87e76ed32dbb737d3768800ebd232759f", "fetched_at": "2026-08-29T12:09:24.044362+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bottlejs"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:51:09.499997+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96a06ebc60ba0c41579e3722531f3d4b24da0eab43d4e80fd98399b4fad875bd", "fetched_at": "2026-08-28T04:04:18.514899+00:00", "kind": "readme", "missing": false, "url": "https://github.com/young-steveo/bottlejs"}, {"content_hash": "0c3f7e1dd283548c5ce53769d19fddc87e76ed32dbb737d3768800ebd232759f", "fetched_at": "2026-08-29T12:09:24.044362+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/bottlejs"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 77, "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": 4361, "days_push": 140, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 57, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}