sails-dirty

sails adapter for felixge's node-dirty

npm install sails-dirty
2 downloads in the last day
106 downloads in the last week
336 downloads in the last month

image_squidhome@2x.png

DirtyAdapter

Sails.js adapter for the great felixge's Dirty database. (https://github.com/felixge/node-dirty) Dirty is an in-memory and disk-persisted JSON store which works great as a bundled, starter database (with the strict caveat that it is for non-production use only).

About Sails.js

http://sailsjs.com

About Waterline

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. Waterline also comes with built-in transaction support, as well as a configurable environment setting.

Writing your own adapters

It's easy to add your own adapters for integrating with proprietary systems or existing open APIs. For most things, it's as easy as require('some-module') and mapping the appropriate methods to match waterline semantics.

githalytics.com alpha

npm loves you