cokoa
Koa meets dependency injection container
Usage
var app = ; // Delegates to app.container.set()app;// Delegates to app.container.get()app;app; // But real fun starts by registering a bundlelet bundle = { c; c; } { return { console; appcontextfoo = app; console; next; console; } }; app;// app.container.get('foo.bar') == 'baz'app;// app.container.get('foo.bar') == 'foo' app; // Will log// > A// > Lazy load!// > bar// > C// > D// > B// > done// > foo