seneca-sqlite-store

SQLite database layer for Seneca framework

npm install seneca-sqlite-store
8 downloads in the last month

Seneca-SQLite is a SQLite database driver for Seneca MVP toolkit

Usage:

var seneca              = require('seneca');
var senecaSQLiteStore   = require('seneca-sqlite');

var senecaConfig = {}
var senecaSQLiteStoreOpts = {
    database:'/path/to/seneca_sqlite.db'
};

...

var si = seneca(senecaConfig);
si.use(senecaSQLiteStore, senecaSQLiteStoreOpts);
si.ready( function(){
    var product = si.make('product');
    ...
});
...
npm loves you