sails-dirty

0.7.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i sails-dirty

Weekly Downloads

7

Version

0.7.4

License

MIT

Last publish

Collaborators

  • balderdashy