JavaScript, TypeScript

You can use “dependency injection” with inversify.

Installnpm install inversify reflect-metadata --sav ...