flexel
TypeScript icon, indicating that this package has built-in type declarations

0.7.3 • Public • Published

flexel

Short Description

Build Status Code Coverage Dependencies DevDependencies npm Monthly Downloads Total Downloads

Long Description

Example:

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

Features:

  • Coming soon

Contribute

  1. Fork it
  2. npm i
  3. npm run watch
  4. Make changes and write tests.
  5. Send pull request! 😎

License:

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i flexel

Weekly Downloads

5

Version

0.7.3

License

MIT

Unpacked Size

47.9 kB

Total Files

24

Last publish

Collaborators

  • jimbuck