Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The simplest way to use IndexedDB in the browser.
branch: master

README.md

Dexdis

The simplest way to use IndexedDB in the browser.

Build Status Coverage Status Dependency Status NPM version Stories in Ready

Usage

var d = new Dexdis();

d.select(0);
d.set('foo', 42, function(err, res) {
    d.get('foo', function(err, res) {
        console.log(res); // 42
    });
});

d.select(1);
var trans = d.multi();
trans.set('foo', 42);
trans.set('bar', 23);
trans.get('bar');
trans.get('foo');
trans.exec(function(err, res) {
    console.log(res); // ['OK', 'OK', 23, 42]
});

Commands

For a list of available commands see the command list on the website.

Installation

Standalone

Download as standalone JavaScript file directly from the download page

Bower

$ bower install dexdis

Component

$ component install semfact/dexdis

Jam

$ jam install dexdis

Volo

$ volo add dexdis

NPM

$ npm install dexdis

License

Apache 2.0, see LICENSE.md file.

Something went wrong with that request. Please try again.