rethought
v0.1.1
Published
A Document class for RethinkDB making use of generators
Downloads
1
Readme
rethought
This is a JavaScript object-wrapper for RethinkDB documents. It provides a Document class making use of generators.
I heavily borrowed from http://knowthen.com/episode-5-creating-models-in-koajs/.
See examples/models.user.js
and test/user.js
for an example of how powerful this tool already is.
Installation
Make sure you've got io.js installed. Then install with npm install rethought
.
ES6
This package uses generators and classes, which are only available in io.js.
Testing
Run the tests with npm test
.