# TSyringe — card for AI agents

Lightweight dependency injection container for TypeScript from Microsoft.

Category: Utilities · npm package `tsyringe` · latest version 4.10.0 (checked 2026-11-01)
Install: `npm install tsyringe`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 58.8 (#1119 of all tools, 128 of 408 in its category)
- Used in 2 public projects set up for AI coding agents (0.0%)
- Downloads last week: 25,429,259 (as of 2026-11-24), +60.7% over 4 weeks
- GitHub stars: 6,016 (as of 2026-11-24)
- Last push: 2026-10-16

## Often used with
Prettier 75.0%, Zod 75.0%, ESLint 87.5%, Model Context Protocol SDK (JavaScript) 50.0%, Husky 50.0%, vite-tsconfig-paths 50.0%

## Links
- AgentGid page: https://agentgid.com/tools/tsyringe/
- Homepage: https://github.com/Microsoft/tsyringe#readme
- Repository: https://github.com/Microsoft/tsyringe

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
