diod
typesafe-dependency-injection-in-typescript-samples | diod | |
---|---|---|
3 | 2 | |
0 | 124 | |
- | - | |
0.0 | 3.5 | |
about 1 year ago | about 1 month ago | |
JavaScript | TypeScript | |
- | 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.
typesafe-dependency-injection-in-typescript-samples
-
Implementing logger with metadata
I will use the repo as starting point.
-
Step-by-step guide to implementing scoped-like dependencies using AsyncLocalStorage with fastify
Let's say we want to add a new feature to the previous sample app - RequestId.
-
Typesafe, (almost) Zero Cost Dependency Injection in TypeScript
Note: You can find complete source code here.
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.
What are some alternatives?
fastify-plugin - Plugin helper for Fastify
NectarJS - 🔱 Javascript's God Mode. No VM. No Bytecode. No GC. Just native binaries.
dataloader - DataLoader is a generic utility to be used as part of your application's data fetching layer to provide a consistent API over various backends and reduce requests to those backends via batching and caching.
PrivMX JS Crypto Lib - Javascript crypto library ...
typed-inject - Type safe dependency injection for TypeScript
chef-express - Command Line Interface Static Files Server written in TypeScript for Single Page Applications serving in Node with Express
injection-js - Dependency injection library for JavaScript and TypeScript in 5.1K. It is an extraction of the Angular's ReflectiveInjector which means that it's well designed, feature complete, fast, reliable and well tested.
spurt - Spurtcommerce is a complete ecommerce solution for Angular 4 , Nodejs , Mysql
vulcan-next - The Next starter for GraphQL developers
teachcode - A tool to develop and improve a student’s programming skills by introducing the earliest lessons of coding.
github-star-search - A CLI that search your github starred repositories offline through README , description and other fields.
jirax - :sunglasses: :computer: Simple and flexible CLI Tool for your daily JIRA activity (supported on all OSes)