Gathering detailed insights and metrics for inversify
Gathering detailed insights and metrics for inversify
Gathering detailed insights and metrics for inversify
Gathering detailed insights and metrics for inversify
inversify-inject-decorators
Lazy evaluated property injection decorators for InversifyJS
inversify-binding-decorators
An utility that allows developers to declare InversifyJS bindings using ES2016 decorators
inversify-props
Wrapper to use inversify as property decorator with TypeScript, useful for component libraries like Vue, React or LitElement
mana-syringe
IoC library for mana, easily to use.
A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.
npm install inversify
Typescript
Module System
Node Version
NPM Version
98.7
Supply Chain
86.1
Quality
93.2
Maintenance
100
Vulnerability
100
License
TypeScript (95.58%)
JavaScript (4.42%)
Total Downloads
208,654,177
Last Day
67,337
Last Week
1,295,611
Last Month
5,606,829
Last Year
55,012,267
MIT License
11,770 Stars
1,659 Commits
724 Forks
132 Watchers
3 Branches
114 Contributors
Updated on Jun 19, 2025
Minified
Minified + Gzipped
Latest Version
7.5.2
Package Id
inversify@7.5.2
Unpacked Size
30.26 kB
Size
9.08 kB
File Count
14
NPM Version
11.4.1
Node Version
22.14.0
Published on
Jun 01, 2025
Cumulative downloads
Total Downloads
Last Day
-20.2%
67,337
Compared to previous day
Last Week
-9%
1,295,611
Compared to previous week
Last Month
-1.4%
5,606,829
Compared to previous month
Last Year
46.9%
55,012,267
Compared to previous year
1
23
A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.
Documentation is available at https://inversify.io
InversifyJS is a lightweight inversion of control (IoC) container for TypeScript and JavaScript apps. An IoC container uses a class constructor to identify and inject its dependencies. InversifyJS has a friendly API and encourages the usage of the best OOP and IoC practices.
JavaScript now supports object oriented (OO) programming with class based inheritance. These features are great but the truth is that they are also dangerous.
We need a good OO design (SOLID, Composite Reuse, etc.) to protect ourselves from these threats. The problem is that OO design is difficult and that is exactly why we created InversifyJS.
InversifyJS is a tool that helps JavaScript developers write code with good OO design.
InversifyJS has been developed with 4 main goals:
Allow JavaScript developers to write code that adheres to the SOLID principles.
Facilitate and encourage the adherence to the best OOP and IoC practices.
Add as little runtime overhead as possible.
Provide a state of the art development experience.
Nate Kohari - Author of Ninject
"Nice work! I've taken a couple shots at creating DI frameworks for JavaScript and TypeScript, but the lack of RTTI really hinders things. The ES7 metadata gets us part of the way there (as you've discovered). Keep up the great work!"
Michel Weststrate - Author of MobX
Dependency injection like InversifyJS works nicely
Thanks a lot to all the contributors, all the developers out there using InversifyJS and all those that help us to spread the word by sharing content about InversifyJS online. Without your feedback and support this project would not be possible.
License under the MIT License (MIT)
Copyright © 2015-2017 Remo H. Jansen
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
No vulnerabilities found.
Reason
30 commit(s) and 27 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
2 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 5
Details
Reason
Found 0/16 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-09
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More