IoC for Javascript & Node.js


A Collection is a container of keys / values. Each value is associated with his key corresponding.

Like this:

var container = {
  key1: 'value 1',
  key2: 'value 2',
  // ...
};'s collection supports the dependency injection. The API of the Collection class is inspired by Angular and Pimple (among others).

Creating Collection

var items = new noder.Collection();


var items = noder.createCollection();

// true
console.log(items instanceof noder.Collection);