1.0.2 • Published 7 years ago

level-indexed v1.0.2

Weekly downloads
14
License
ISC
Repository
github
Last release
7 years ago

level-indexed

A convenience package bundling levelup and indexeddown and exposing the levelup constructor.

npm install level-indexed

Usage

The usual levelup API is available.

var level = require('level-indexed')

var db = level('mydb')

db.put('key', 'value', function (err) {
  db.get('key', function (err, value) {
    console.log(value)
  })
})