node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

aedes-persistence-level

aedes-persistence-level  Build Status

Aedes persistence, backed by levelup.

See aedes-persistence for the full API, and Aedes for usage.

Install

npm i aedes aedes-persistence-level level --save

API

aedesPersistencelevel(db)

Creates a new instance of aedes-persistence-level. The first parameter is an instance of levelup.

Example:

var level = require('level')
var aedesPersistencelevel = require('aedes-persistence-level')
 
// instantiate a persistence instance 
aedesPersistencelevel(level('./mydb'))

License

MIT