ampersand-collection
A way to store/manage objects or models.
Unlike other tools this makes no assumptions about how it's going to be used or what type of models it is going to contain. This makes it a very flexible/useful tool for modeling all kinds of stuff.
It does not require underscore or jQuery, but instead makes it easy to extend with those methods if you'd like.
massive flexibility
For example:
var Collection = require('ampersand-collection');
var basicCollection = new Collection([
{name: 'larry'},
{name: 'curly'},
{name: 'moe'}
]);
var Collection = require('ampersand-collection');
var restMixin = require('ampersand-rest-mixin');
var underscoreMixin = require('ampersand-underscore-mixin');
var RestfulCollection = Collection.extend(underscoreMixin, restMixin, {
url: '/mystuff'
});
var collection = new RestfulCollection();
collection.fetch();