JugglingDB - cross-database ORM for nodejs and browser
JugglingDB is a cross-db ORM for nodejs, providing common interface to access most popular database formats. Currently supported db formats are: mysql, sqlite3, postgres, couchdb, mongodb, redis, neo4j and in-memory-storage.
JugglingDB also works on client-side (using WebService and Memory adapters), which allow to write rich client-side apps talking to server using JSON API.
Use npm to install core package:
npm install jugglingdb --save
Alternatively you can install jugglingdb core from github:
npm install 1602/jugglingdb
Then install adapter for specific database, for example
npm install jugglingdb-redis
See ADAPTERS for list of available adapters.
Autogenerated documentation available at jsdoc.info/1602/jugglingdb. Human-written manual sections are:
Everything about schema, data types and model definition.
Model methods, features and internals.
Built-in validators, creating custom validations, syncronous and asyncronous object validation.
Hooks and object lifecycle.
Adapter API explained.
All adapters available as separate packages at github.com/jugglingdb and published in npm.
You can take part in improvement of jugglingdb codebase and documents. If you see that some improvements can be done to jugglingdb, then fork repository, make proposed changes and then create new pull request. Please remember that your contribution is highly supported. Be sure to follow the discussion in google group and see github issues before you make changes. It preferable that you post new comment in google group or in github before you make changes and create pull request.
When you find issues, please report them:
Provide test case for reproducing error. When reporting issue to core mention adapter where problem could be reproduced.
JugglingDB is Copyright (C) 2011 Anatoliy Chakkaev http://anatoliy.in
410 Anatoliy Chakkaev 73.9% 31 Sebastien Drouyer 5.6% 25 1602 4.5% 9 Muneeb Samuels 1.6% 6 Henri Bergius 1.1%
NOTE: Other adapters waits for their maintainers, drop a line to email@example.com if you want to maintain some adapter on regular basis.