A DI framework.
npm install di
|5 833||downloads in the last day|
|36 857||downloads in the last week|
|109 913||downloads in the last month|
|Version||2.0.0-pre-3 last updated 21 hours ago|
|Dependencies||traceur, es6-shim, q|
|Dependents (8)||dgeni, diap, grunt-closure-dicontainer, grunt-este, grunt-rerun, kanban-vision, karma, kitchen.js|
Dependency Injection v2
This readme describes how to set up your working space in order to run the tests and hack on it. See How can I use it on how to use this DI framework in your project.
# Clone this repo (or your fork). git clone https://github.com/angular/di.js.git # Install all the the dev dependencies, such as Karma, Gulp, etc. npm install # If you wanna use "karma" or "gulp" commands, install also: npm install -g karma-cli npm install -g gulp
Running the tests
This will start Karma and Chrome (with
--harmony enabled). Karma will watch the source code and run the tests anytime you save a change.
# Transpile ES6 into ./compiled/* gulp build # Watch all the sources and transpile on any change gulp watch
gulp build_examples gulp serve
I talked about this DI framework at the ng-conf, here are some more links...
Also, here is the original design doc, which is quickly becoming out-dated ;-)