[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10132":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":33,"discoverSource":34},10132,"InversifyJS","inversify\u002FInversifyJS","inversify","Powerful and lightweight inversion of control container. Moved to https:\u002F\u002Fgithub.com\u002Finversify\u002Fmonorepo","http:\u002F\u002Finversify.io\u002F",null,"TypeScript",12064,712,129,2,0,7,69.26,"MIT License",false,"master",true,[24,25,26,27,28,29],"dependency-injection","inversifyjs","ioc","javascript","nodejs","typescript","2026-06-12 04:00:48","> [!NOTE]  \n> InversifyJS will be moving to the [monorepo](https:\u002F\u002Fgithub.com\u002Finversify\u002Fmonorepo). Please, consider creating issues and pull requests there.\n>\n> Next releases will be published in the monorepo, so consider starring it to be notified.\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Finversify\" target=\"__blank\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Finversify?color=0476bc&label=\" alt=\"NPM version\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Finversify\" target=\"__blank\">\u003Cimg alt=\"NPM Downloads\" src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdm\u002Finversify?color=3890aa&label=\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Finversify\u002FInversifyJS#-the-inversifyjs-features-and-api\" target=\"__blank\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fstatic\u002Fv1?label=&message=docs&color=1e8a7a\" alt=\"Docs\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fcodecov.io\u002Fgh\u002Finversify\u002FInversifyJS\" target=\"__blank\">\u003Cimg alt=\"Codecov\" src=\"https:\u002F\u002Fcodecov.io\u002Fgh\u002Finversify\u002FInversifyJS\u002Fbranch\u002Fmaster\u002Fgraph\u002Fbadge.svg?token=KfAKzuGs01\">\u003C\u002Fa>\n  \u003Cbr>\n  \u003Cbr>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Finversify\u002FInversifyJS\" target=\"__blank\">\u003Cimg alt=\"GitHub stars\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Finversify\u002FInversifyJS?style=social\">\u003C\u002Fa>\n  \u003C!--\u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Finversifyjs\" target=\"__blank\">\u003Cimg alt=\"Twitter\" src=\"https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002FInversifyJS.svg?maxAge=86400&style=social\">\u003C\u002Fa>-->\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FjXcMagAPnm\" target=\"__blank\">\u003Cimg alt=\"Discord Server\" src=\"https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F816766547879657532?style=social&logo=discord\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n# InversifyJS\nA powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.\n\n## 📕 Documentation\nDocumentation is available at https:\u002F\u002Finversify.io\n\n## About\nInversifyJS is a lightweight inversion of control (IoC) container for TypeScript and JavaScript apps.\nAn IoC container uses a class constructor to identify and inject its dependencies.\nInversifyJS has a friendly API and encourages the usage of the best OOP and IoC practices.\n\n## Motivation\nJavaScript now supports object oriented (OO) programming with class based inheritance. These features are great but the truth is that they are also\n[dangerous](https:\u002F\u002Fmedium.com\u002F@dan_abramov\u002Fhow-to-use-classes-and-sleep-at-night-9af8de78ccb4).\n\nWe need a good OO design ([SOLID](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FSOLID_(object-oriented_design)), [Composite Reuse](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FComposition_over_inheritance), etc.) to protect ourselves from these threats. The problem is that OO design is difficult and that is exactly why we created InversifyJS.\n\nInversifyJS is a tool that helps JavaScript developers write code with good OO design.\n\n## Philosophy\nInversifyJS has been developed with 4 main goals:\n\n1. Allow JavaScript developers to write code that adheres to the SOLID principles.\n\n2. Facilitate and encourage the adherence to the best OOP and IoC practices.\n\n3. Add as little runtime overhead as possible.\n\n4. Provide a state of the art development experience.\n\n## Testimonies\n\n**[Nate Kohari](https:\u002F\u002Ftwitter.com\u002Fnkohari)** - Author of [Ninject](https:\u002F\u002Fgithub.com\u002Fninject\u002FNinject)\n\n> *\"Nice work! I've taken a couple shots at creating DI frameworks for JavaScript and TypeScript, but the lack of RTTI really hinders things.*\n> *The ES7 metadata gets us part of the way there (as you've discovered). Keep up the great work!\"*\n\n**[Michel Weststrate](https:\u002F\u002Ftwitter.com\u002Fmweststrate)** - Author of [MobX](https:\u002F\u002Fgithub.com\u002Fmobxjs\u002Fmobx)\n> *Dependency injection like InversifyJS works nicely*\n\n## Some companies using InversifyJS\n\n[\u003Cimg src=\"https:\u002F\u002Favatars0.githubusercontent.com\u002Fu\u002F6154722?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fopensource.microsoft.com\u002F)[\u003Cimg src=\"https:\u002F\u002Favatars2.githubusercontent.com\u002Fu\u002F69631?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fcode.facebook.com\u002Fprojects\u002F1021334114569758\u002Fnuclide\u002F)[\u003Cimg src=\"https:\u002F\u002Favatars0.githubusercontent.com\u002Fu\u002F2232217?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Faws.github.io\u002Faws-amplify\u002F)[\u003Cimg src=\"https:\u002F\u002Favatars0.githubusercontent.com\u002Fu\u002F1520648?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fwww.plainconcepts.com\u002F)[\u003Cimg src=\"https:\u002F\u002Favatars3.githubusercontent.com\u002Fu\u002F6962987?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fapi.slack.com\u002F)[\u003Cimg src=\"https:\u002F\u002Fpbs.twimg.com\u002Fprofile_images\u002F827249559046909954\u002FSyaBPcH8_400x400.jpg\" width=\"100\" \u002F>](http:\u002F\u002Facia.aon.com\u002Findex.php\u002Fhome\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars3.githubusercontent.com\u002Fu\u002F114767?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fwww.lonelyplanet.com\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars0.githubusercontent.com\u002Fu\u002F25283328?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fjincor.com\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars1.githubusercontent.com\u002Fu\u002F1957282?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fwww.web-computing.de\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars1.githubusercontent.com\u002Fu\u002F17648048?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fdcos.io\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars0.githubusercontent.com\u002Fu\u002F16970371?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Ftypefox.io\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars0.githubusercontent.com\u002Fu\u002F18010308?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fcode4.ro\u002F) [\u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F10656223\u002F33888109-fae0852e-df43-11e7-97f6-9db543da0bde.png\" width=\"100\">](http:\u002F\u002Fwww.baidu.com\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars2.githubusercontent.com\u002Fu\u002F8085382?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fwww.imdada.cn\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars2.githubusercontent.com\u002Fu\u002F17041151?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fwww.ato.gov.au\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars1.githubusercontent.com\u002Fu\u002F14963540?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fwww.kaneoh.com\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars0.githubusercontent.com\u002Fu\u002F26021686?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fparticl.io\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars2.githubusercontent.com\u002Fu\u002F24523195?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fslackmap.com\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars3.githubusercontent.com\u002Fu\u002F16556899?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fwww.go1.com\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars3.githubusercontent.com\u002Fu\u002F23475730?s=200&v=4\" width=\"100\" \u002F>](http:\u002F\u002Fwww.stellwagengroup.com\u002Fstellwagen-technology\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars1.githubusercontent.com\u002Fu\u002F15262567?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fwww.edrlab.org\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars1.githubusercontent.com\u002Fu\u002F10072104?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fwww.goodgamestudios.com\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars2.githubusercontent.com\u002Fu\u002F13613760?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Ffreshfox.at\u002F) [\u003Cimg src=\"https:\u002F\u002Favatars1.githubusercontent.com\u002Fu\u002F864482?s=200&v=4\" width=\"100\" \u002F>](https:\u002F\u002Fschubergphilis.com\u002F)\n\n## Acknowledgements\n\nThanks a lot to all the [contributors](https:\u002F\u002Fgithub.com\u002Finversify\u002FInversifyJS\u002Fgraphs\u002Fcontributors), 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.\n\n## License\n\nLicense under the MIT License (MIT)\n\nCopyright © 2015-2017 [Remo H. Jansen](http:\u002F\u002Fwww.remojansen.com)\n\nPermission 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\u002For sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE 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.\n\nIN 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.\n","InversifyJS 是一个为 JavaScript 和 Node.js 应用设计的强大且轻量级的控制反转（IoC）容器，基于 TypeScript 构建。它通过类构造函数识别并注入依赖项，提供了一个友好的 API，并鼓励使用最佳的面向对象编程（OOP）和 IoC 实践。其核心功能包括支持 SOLID 原则、促进良好的 OOP 和 IoC 设计模式，同时尽可能减少运行时开销。适用于需要提高代码可维护性和灵活性的各种规模的 JavaScript 项目，特别是那些希望采用更严格的类型检查和更好的依赖管理的应用程序。","2026-06-11 03:26:46","top_topic"]