/level-indexed

A convenience package bundling levelup and indexeddown

Primary LanguageJavaScript

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)
  })
})