Short Description
Long Description
import Flexel from 'flexel';
const db = new Flexel(); // in memory
const db = new Flexel('/path/to/db'); // on disk
const db = new Flexel(someLevelUpInstance); // custom levelup instance (use any leveldown store)
await db.put('project', someObject);
let result = await db.get('project'); // returns someObject
db.createReadStream().pipe(/* ... */) // Same options as Level.
const subDB = db.sub('subarea'); // sublevel instance
const queue = db.queue('queueNamespace'); // async enqueue, dequeue, peek
const stack = db.stack('stackNamespace'); // async push, pop, peek
- Coming soon
- Fork it
npm i
npm run watch
- Make changes and write tests.
- Send pull request! 😎
MIT