persistence.js is an asynchronous Javascript database mapper library. You can use it in the browser, as well on the server (and you can share data models between them).
It would be useful to also have a QueryCollection implementation that simply wraps Javascript arrays, i.e. for collections that are not stored in the database.
It would be useful to also have a QueryCollection implementation that simply wraps Javascript arrays, i.e. for collections that are not stored in the database.