iti
InversifyJS
iti | InversifyJS | |
---|---|---|
6 | 28 | |
120 | 10,821 | |
- | 0.6% | |
0.0 | 6.2 | |
7 months ago | 7 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
iti
-
The Problem with Dependency Injection Frameworks
I didn’t want to adopt a framework for a bigger one, so I’ve built a manual DI helper.
It is for typescript. It is really helpful for me.
https://itijs.org
-
Best practice for using different implementations of data fetching code in React/Next.js app?
If you are interested, I wrote an obscure DI helper library to help mi with ts/react/nest apps. Most examples use classes, but it perfectly works with pure functions. Nothing groundbreaking, just helps me ship apps with lazy async data pipelines faster https://github.com/molszanski/iti
-
What do you use for dependency injection?
I've had success in adding an iti to an existing 50K app
- Has anyone successfully created a Dependency Injection using typescript decorators?
- How do I know when to make a custom hook ?
InversifyJS
-
How to Apply SOLID with Testing JS/TS Class Methods
Take a class for which we are tasked to write a unit test. This class may have a dozen methods and a dozen more attributes. In my environment we were already using inversify to dependency inject into this class, and using container snapshot and restore as setup and teardown operators, in our jest test file. But it began getting out of control even after refactoring into test cases and test runners.
-
VulcanSQL: open-source data API framework. Empowering you to construct APIs exclusively with SQL.
Inversify (https://inversify.io/) for IoC.
-
SOLID explicado com TypeScript
Alguns frameworks trabalham desta forma por padrão, como é o caso do Angular, quando este não é o padrão do framework que utilizamos podemos usar alguma biblioteca, como a Inversify ou tsyringe da Microsoft.
-
Using modern decorators in TypeScript
Using decorators required setting an --experimentalDecorators experimental compiler flag. Several popular TypeScript libraries, such as type-graphql and inversify, rely on this implementation.
-
Typesafe, (almost) Zero Cost Dependency Injection in TypeScript
inversify
- InversifyJS has reached 100,000,000 downloads on npm
-
InversifyJS has reached 100,000,000 downloads on npm 🎉 🚀
It blows 🤯 my mind to think that my #opensource project InversifyJS has reached over 100 MILLION DOWNLOADS on npm. InversifyJS is a lightweight (<50KB) but powerful Inversion Of Control (IoC) container for #JavaScript applications powered by #TypeScript. It is used to implement Dependency Injection (DI) in thousands of applications, including high-profile products like Microsoft Sway and over forty thousand open source repositories on #GitHub and over two thousand open source packages on #npm.
-
Is dependency Injection popular in Nodejs?
we use https://inversify.io/ in production, it works great.
- SOLID com Typescript: O resumo completo com exercícios
- Has anyone successfully created a Dependency Injection using typescript decorators?
What are some alternatives?
tsyringe - Lightweight dependency injection container for JavaScript/TypeScript
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
brandi - The dependency injection container powered by TypeScript.
ExpressBeans - ExpressBeans is a lightweight IoC Container (Inversion of Control Container) that allow a clean java-like code organization.
typedi - Simple yet powerful dependency injection tool for JavaScript and TypeScript.
obsidian - Dependency injection library for React and React Native applications
awilix - Extremely powerful Inversion of Control (IoC) container for Node.JS
fold - IoC container with all required goodies to write flexible node applications
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
Docusaurus - Easy to maintain open source documentation websites.
vue-property-decorator - Vue.js and Property Decorator