Nohm is an object relational mapper (ORM) written for node.js and redis.
If you haven't done this yet: install npm
curl http://npmjs.org/install.sh | sh
npm install nohm
Yes, please contact me or just fork and request pulls. Any help or feedback is appreciated. If you use nohm I'd also be happy if you just drop me a quick msg about it.
To run the tests you need to have nodeunit\@0.1.0:
npm install email@example.com
Careful: This requires a running redis server. (you can configure host/port with the command line arguments --redis-host 188.8.131.52 --redis-port 1234)
The tests also create a lot of keys in your database that look something like this:
After the tests have run all keys that match the pattern nohmtests:* are deleted! You can prevent this by passing --no-cleanup (which will leave hundreds or thousands of test keys in your database). You may also change the prefix ("nohmtests") part doing something like
node test/tests.js --nohm-prefix YourNewPrefix
Now the keys will look like this: