Top 22 TypeScript Dependency Injection Projects
-
InversifyJS
A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.
Project mention: What do you need to understand about IOC containers like InversifyJS? | reddit.com/r/node | 2022-05-15 -
loopback-next
LoopBack makes it easy to build modern API applications that require complex integrations.
Loopback 4: A framework for building APIs and Microservices GitHub Popularity: 3.9K Stars
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
Project mention: Algum dev NodeJS (express) ai pra me dar umas dica? | reddit.com/r/brdev | 2022-05-19
-
Project mention: Dependency Injection in JavaScript: Write Testable Code Easily | dev.to | 2022-03-02
For existing projects, or if you don't want the weight of an opinionated framework like Nest, libraries like TypeDI and TSyringe can help.
-
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.
-
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.
Project mention: Where to find the examples of the Dependency Injection? | reddit.com/r/node | 2022-05-20Take a look at TS.Ed https://tsed.io/ they have some pretty neat DI implementations
-
I would guess commodity plumbing. There's a lot of work you have to do to get something like express on par with Rails or any other Rails inspired framework for which there are many in multiple languages even in nodejs.
imo the one I like best in nodejs is Blitzjs https://blitzjs.com/
FoalTS https://foalts.org/ is nice too and there are several other full stack frameworks like Nestjs, FeatherJs, and redwoodjs
-
SonarLint
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
-
Project mention: HaloAPI.dev - Open-source GraphQL API for Infinite | reddit.com/r/halo | 2022-03-09
Second a NextJS app is deployed to Vercel containing a GraphQL server function. This is an Apollo server that consumes the halo-graphql package using GraphQL Modules. The server also implements caching and rate limiting using GraphQL Shield.
-
marshal.ts
A new full-featured and high-performance TypeScript framework for enterprise applications.
Might be too heavy, but you configure the "components" https://deepkit.io/
-
Project mention: [AskJS] Why is multithreading not popular for web applications? | reddit.com/r/javascript | 2021-10-08
hey, reactant-share framework with React(https://github.com/unadlib/reactant/tree/master/packages/reactant-share) is OOTB. : )
-
-
-
diod
A very opinionated inversion of control (IoC) container and dependency injector for Typescript, Node.js or browser apps.
Project mention: Can someone suggest a simple dependency injection library for TypeScript/JavaScript? | reddit.com/r/typescript | 2021-10-13I will suggest DIOD https://github.com/artberri/diod which is specially designed for Typescript, although it can be used with vanilla JS also.
-
di.libx.js
💉 di.libx.js - Lightweight & non intrusive Dependency Injection module that supports async/deferred resolution and uglified support
-
-
ditsmod
Ditsmod is a Node.js web framework, named DI + TS + Mod to emphasize its important components: it has Dependency Injection, written in TypeScript, and designed for good Modularity.
-
-
-
-
The ngx-crudx is amazingly powerful and configurable. If you like the library, give it a star ⭐ which keeps me motivated to build great stuff. If you want to contribute or find any typo/bug, raise an Issue and lets discuss about it.
-
Please take a look at "Be Our Guest" and give us a star at https://github.com/AJStacy/be-our-guest .
-
TypeManager.TS
A package which will help you to transform your JSON strings or plain objects into JS object instances.
Project mention: class-transformer VS TypeManager.TS - a user suggested alternative | libhunt.com/r/petrzjunior/class-transformer | 2022-05-22
TypeScript Dependency Injection related posts
- Algum dev NodeJS (express) ai pra me dar umas dica?
- What do you need to understand about IOC containers like InversifyJS?
- Ways of using InversifyJS on a React application?
- Dependency Injection in JavaScript: Write Testable Code Easily
- Dependency inversion principle in Typescript
- Dependency inversion principle in Typescript
- github
Index
What are some of the best open-source Dependency Injection projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | InversifyJS | 8,903 |
2 | loopback-next | 4,152 |
3 | tsyringe | 3,110 |
4 | typedi | 3,080 |
5 | awilix | 2,468 |
6 | Ts.ED | 2,085 |
7 | foal | 1,547 |
8 | graphql-modules | 1,167 |
9 | marshal.ts | 851 |
10 | reactant | 232 |
11 | Ditox.js | 55 |
12 | di-compiler | 47 |
13 | diod | 38 |
14 | di.libx.js | 32 |
15 | entrance-decorator | 25 |
16 | ditsmod | 22 |
17 | dandi | 9 |
18 | ts_injector | 6 |
19 | di | 5 |
20 | ngx-crudx | 5 |
21 | be-our-guest | 4 |
22 | TypeManager.TS | 1 |
Are you hiring? Post a new remote job listing for free.