Re: [nodejs] as/for: thoughts on adding aliases to npm as an alternative to dependency injection

2013-05-13 Thread Tim Caswell
I often have a similar need. In debian systems, I'm noticed that sometimes there are "virtual" packages that several competing packages all "provide" the concrete representation for. Maybe a simpler syntax using the idea of "provides" could be used here. My concrete example, is my js-git demo.

[nodejs] as/for: thoughts on adding aliases to npm as an alternative to dependency injection

2013-05-13 Thread Ken
I've been mulling this problem space a while and decided to "think out loud" here to see whether anyone else is exploring similar avenues. There's obviously some good work being done in dependency injection for node apps, but I have some instinctual cringe at any dependency injection systems t