您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
Garrett Mills
921f8dbe07
|
4 年前 | |
---|---|---|
App.js | 4 年前 | |
DependencyInjector.js | 4 年前 | |
Injectable.js | 4 年前 | |
README.md | 4 年前 | |
Service.js | 4 年前 | |
ServiceContainer.js | 4 年前 | |
index.js | 4 年前 |
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.