tsyringev4.10.0, 16 Apr 2025
Lightweight dependency injection container for JavaScript/TypeScript
$ npm install tsyringeinjection-jsv2.6.1, 22 Oct 2025
Dependency Injection library for JavaScript and TypeScript
$ npm install injection-js| Metric | tsyringe | injection-js | Difference |
|---|---|---|---|
| Weekly downloads | 8,698,792 | 936,451 | tsyringe 9.3x higher |
| 12-month download growth | +910% | +21% | tsyringe +890 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 1 | 1 | Same |
| Unpacked size | 145 kB | 326 kB | tsyringe 2.2x smaller |
| Latest release | 4.10.0, 16 Apr 2025 | 2.6.1, 22 Oct 2025 | injection-js 6 months more recent |
| Releases, last 12 months | 0 | 2 | injection-js 2 more |
| First published | 14 Feb 2018 | 23 Jan 2017 | injection-js 13 months earlier |
| GitHub stars | 6,001 | 1,378 | tsyringe 4.4x higher |
| Open issues | 63 | 2 | tsyringe 61 more |
| Open pull requests | 20 | 4 | tsyringe 16 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 1 | 5 | injection-js 5.0x higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | ESM + CommonJS | ESM + CommonJS | Same |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.
tsyringe8.8m latest weekinjection-js936.5k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
tsyringe
Major versions
- 1.0.014 Feb 2018
- 2.0.021 Feb 2018
- 3.0.026 Dec 2018
- 4.0.02 Nov 2019
Last 5 releases
- 4.10.016 Apr 2025
- 4.9.13 Apr 2025
- 4.8.020 Jun 2023
- 4.7.027 May 2022
- 4.6.07 Jul 2021
26 releases in total, 0 in the last 12 months
injection-js
Major versions
- 1.0.023 Jan 2017
- 2.0.024 Mar 2017
Last 5 releases
- 2.6.122 Oct 2025
- 2.6.016 Oct 2025
- 2.5.022 Apr 2025
- 2.4.07 Nov 2020
- 2.3.229 Oct 2020
18 releases in total, 2 in the last 12 months
tsyringe
-
injection-js
-
tsyringe
-
injection-js
-
- Module formatBoth ESM + CommonJS
- Need TypeScript types in the package itselfBoth
- Node.js version requirementtsyringe: >= 6.0.0; injection-js: none declared (engines field in package.json)
- Need the more recent releaseinjection-js (2.6.1 on 22 Oct 2025 vs 4.10.0 on 16 Apr 2025)
- Higher weekly npm downloadstsyringe (8.7m vs 936.5k)
Each line is generated from the data above.
tsyringe: tsyringe npm registry, tsyringe npm downloads, tsyringe GitHub. Data fetched 25 Sept 2026.
injection-js: injection-js npm registry, injection-js npm downloads, injection-js GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.