Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tdegrunt/noid
ODM for MongoDB/Node.js with CoffeeScript
https://github.com/tdegrunt/noid
Last synced: 26 days ago
JSON representation
ODM for MongoDB/Node.js with CoffeeScript
- Host: GitHub
- URL: https://github.com/tdegrunt/noid
- Owner: tdegrunt
- License: mit
- Created: 2012-06-27T11:13:14.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2010-12-22T01:20:59.000Z (almost 14 years ago)
- Last Synced: 2024-10-07T17:35:27.942Z (about 1 month ago)
- Language: CoffeeScript
- Homepage:
- Size: 94.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Noid
====Noid is an ODM (object document mapper) for MongoDB and Node.js written in CoffeeScript.
Example
-------class Person extends Document
@storeIn 'people'@field 'name'
@field 'title'Person.create { name: 'Chris }
Person.findFirst { name: 'Chris' }, (error, person) ->
console.log person.name()Documentation
-------------npm install noid
See the [integration specs](https://github.com/chrisgibson/noid/tree/master/spec/integration) for now...
About
-----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.
Credits
-------Chris Gibson chrislgibson at gmail dot com