Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Garrett Mills
921f8dbe07
|
il y a 5 ans | |
---|---|---|
App.js | il y a 5 ans | |
DependencyInjector.js | il y a 5 ans | |
Injectable.js | il y a 5 ans | |
README.md | il y a 5 ans | |
Service.js | il y a 5 ans | |
ServiceContainer.js | il y a 5 ans | |
index.js | il y a 5 ans |
README.md
Basic Dependency Injection
In less than 100 lines of pure, ES6 JavaScript
This is a very bare-bones dependency injector implementation based on the ES6 classes. It's meant to illustrate the feasibility and benefits of using a service-based dependency injector for Node.js/JavaScript applications.
I discuss this project in greater depth in my blog post here.