Skip to content
JS
Package

injection-js

Dependency Injection library for JavaScript and TypeScript

v2.6.1, 22 Oct 2025MITESM + CommonJSTypes: BundledTypeScript tooling
$ npm install injection-js

Key numbers

As of 25 Sept 2026
Weekly downloads
936.5k
+21% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
11 months ago
v2.6.1
GitHub stars
1.4k
68 forks
Open issues / PRs
2 / 4
Contributors
-
Commits, last 52 weeks
5

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.4m (21 Jul 2026)Low 383k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

936,451 downloads last week, 4,610,054 in the last month. The 12-month change of +21% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
218 in total
Latest version
2.6.1, 22 Oct 202511 months ago
First published
23 Jan 2017
Last push to GitHub
22 Oct 2025337 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
4
Commits, last 52 weeks
5
Dependents on npm
-

Major versions

  1. v2 first release 2.0.0, 24 Mar 2017
  2. v1 first release 1.0.0, 23 Jan 2017

Recent releases

VersionPublished
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
2.3.13 Jul 2020
2.3.010 Jan 2020
2.2.216 Aug 2019
2.2.120 Nov 2017
2.2.017 Nov 2017
2.1.117 Nov 2017
2.1.02 May 2017
2.0.111 Apr 2017
2.0.024 Mar 2017
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
326 kB
Dependencies (1)
tslib
npm install injection-js
  • jsDelivrhttps://cdn.jsdelivr.net/npm/injection-js@2.6.1/
  • unpkghttps://unpkg.com/injection-js@2.6.1/
  • esm.shhttps://esm.sh/injection-js@2.6.1
PackageWeekly downloadsGzipLast releaseModuleComparison
tsyringe8.7m-1 year agoESM + CommonJStsyringe vs injection-js
inversify1.9m-2 months agoESM only-
@inversifyjs/core1.1m-2 months agoESM only-
@inversifyjs/common1.1m-6 months agoESM only-
@inversifyjs/container660.2k-2 months agoESM only-
@inversifyjs/plugin576.9k-6 months agoESM only-
@inversifyjs/reflect-metadata-utils1.1m-6 months agoESM only-
componentsjs66.3k-8 months agoCommonJS-

Related

Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.