aedes-persistence-level
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:
const { Level } = require('level') // Level >= 8.0.0 is required
const aedesPersistencelevel = require('aedes-persistence-level')
// instantiate a persistence instance
aedesPersistencelevel(new Level('./mydb'))
License
MIT