This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
sails-nedb with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Waterline adapter for NeDB.
A persistent object store which uses Node Embedded Database as the storage engine.
Install from NPM.
$ npm install sails-nedb --save
The NeDB dependency is actually pulled from my forked repo of the original, because I needed to add aggregation support at the DB layer.
Add the nedb config to the
No special configuration is necessary.
A big thanks to the contributors of NeDB, sails-disk, and sails-mongo. sails-nedb owes it in no small amount to each of these projects for its existence :).
Waterline is a new kind of storage and retrieval engine. It provides a uniform API for accessing stuff from different kinds of databases, protocols, and 3rd party APIs. That means you write the same code to get users, whether they live in mySQL, LDAP, MongoDB, or Facebook.