young-steveo/bottlejs
A powerful dependency injection micro container for JavaScript applications observed · 2026-08-28
Health v2 · maintenance only
57/100
- Activity 77
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4361
- days_rel: n/a
- days_push: 140
- n_releases_24m: 0
Adoption not part of the score
1304 stars · 63 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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.
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
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
Facets
library · maturity maintenance
middleware plugin-system developer-tools web-development browser cross-platform dependency-injection service-locator di-container micro-library lazy-loading decorators javascript nodejs
2 sources
- readme: https://github.com/young-steveo/bottlejs · fetched 2026-08-28 · 96a06ebc60ba
- registry_npm: https://registry.npmjs.org/bottlejs · fetched 2026-08-29 · 0c3f7e1dd283
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| young-steveo/bottlejs | main | 57 |
For agents
markdown · JSON · MCP: product_card(name="young-steveo/bottlejs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem