diod
awilix
diod | awilix | |
---|---|---|
2 | 5 | |
124 | 3,336 | |
- | - | |
3.5 | 7.8 | |
about 2 months ago | 28 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.
diod
-
Typesafe, (almost) Zero Cost Dependency Injection in TypeScript
diod
-
Can someone suggest a simple dependency injection library for TypeScript/JavaScript?
I will suggest DIOD https://github.com/artberri/diod which is specially designed for Typescript, although it can be used with vanilla JS also.
awilix
-
create generic BaseService working with TypeORM
In next post I will show you how to using with other DI package like awilix , tsyringe, etc...
-
Repository Pattern with Typescript and Node.js
In real project we have some Dependency Injection library, in my case it is Awilix. Now we need realize integration of repository with out DI solution.
-
Can someone suggest a simple dependency injection library for TypeScript/JavaScript?
I used awilix in several project, seems good enough for us, no problem so far. https://github.com/jeffijoe/awilix
-
GraphQL + Clean Architectire boilerplate
IoC: (stand for Inversion of Control) is an implementation of the Dependency Injection, the letter D in the SOLID principal. Every time you create a new Service class, or a new repository class, or a new controller, you need to register them in this container. This boilerplate uses Awilix library to achieve the factor.
- Um Guia sobre Injeção e Inversão de Dependências em Node.js e TypeScript
What are some alternatives?
NectarJS - 🔱 Javascript's God Mode. No VM. No Bytecode. No GC. Just native binaries.
InversifyJS - A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.
PrivMX JS Crypto Lib - Javascript crypto library ...
tsyringe - Lightweight dependency injection container for JavaScript/TypeScript
chef-express - Command Line Interface Static Files Server written in TypeScript for Single Page Applications serving in Node with Express
Ts.ED - :triangular_ruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone. ⭐️ Star to support our work!
spurt - Spurtcommerce is a complete ecommerce solution for Angular 4 , Nodejs , Mysql
graphql_clean-architecture_boilerplate - GraphQL + Clean Architecture boilerplate
vulcan-next - The Next starter for GraphQL developers
entrance-decorator - A minimal solution of dependency injection for projects that scale.
teachcode - A tool to develop and improve a student’s programming skills by introducing the earliest lessons of coding.
loopback-next - LoopBack makes it easy to build modern API applications that require complex integrations.