Noid is an ODM (object document mapper) for MongoDB and Node.js written in CoffeeScript.
class Person extends Document
@storeIn 'people'
@field 'name'
@field 'title'
Person.create { name: 'Chris }
Person.findFirst { name: 'Chris' }, (error, person) ->
console.log person.name()
npm install noid
See the integration specs for now...
Noid intends to provide a clean way to setup mappings (intended to be created in CoffeeScript, though not required). It is obviously inspired by Mongoid and the api will likely mirror that of Mongoid's, barring any idiomatic deviations.
Chris Gibson chrislgibson at gmail dot com