Ross ROSS = Recommend OSS · open-source software intelligence for agents

microsoft/tsyringe

Lightweight dependency injection container for JavaScript/TypeScript observed · 2026-08-28

github.com/microsoft/tsyringe · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

51/100

  • Activity 63
  • 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: 3212
  • days_rel: n/a
  • days_push: 224
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

5993 stars · 183 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

TSyringe is a lightweight dependency injection container for TypeScript and JavaScript supporting constructor injection via decorators. It provides singleton, scoped, and transient registrations, child containers, and injection tokens.

Use cases

  • manage dependencies in a typescript app
  • ioc container for nodejs
  • constructor injection with decorators
  • decouple services with dependency injection
  • register singletons and scoped services
  • resolve interfaces without direct imports

When to choose

  • you want a small, decorator-based DI container for TypeScript
  • you need child containers and scoped lifecycles
  • you prefer minimal setup over a full framework like Angular or NestJS

When to avoid

  • you need a full application framework with built-in routing and modules
  • you cannot enable experimental decorators or add a Reflect polyfill
  • you need DI without decorators or metadata in plain JavaScript

Facets

library · maturity stable

middleware developer-tools developer-tools web-development backend cross-platform dependency-injection ioc-container decorators constructor-injection reflect-metadata nodejs typescript

2 sources

Member repositories

RepositoryRoleHealth v2
microsoft/tsyringemain51

For agents

markdown · JSON · MCP: product_card(name="microsoft/tsyringe")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem