IDB since 2011
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
behaviors
coverage
dist
docs
documentation
lib
specs
tasks
travis
.coveralls.yml
.gitignore
.gitmodules
.travis.yml
Gruntfile.js
README.md
_config.yml
bower.json
index.html
karma.conf.js
npm-shrinkwrap.json
package.json

README.md

dash Build Status Coverage Status

A cookie-sized JavaSript library wrapping the IndexedDB "HTML5" database API.

Key Features

  • Simplified callbacks through promises
  • Transaction and optionally version-free
  • Declarative databases, object stores and indexes
  • 5KB gzipped (18KB uncompressed)
  • Tests passing Chrome 61.0.3163

Installation Options

Up And Running

/* There's no setup required to get started using IndexedDB with dash. */
/* Just start adding entries and any declared databases, object stores and 
 * indexes will be provided */
dash.add.entry({
    database: 'foo',
    store: 'bar',
    data: { baz: new Date().getTime() }
})((add) => {
    dash.get.entry(add)((get) => {
      console.log('Data', get.entry)
    });
});

Developer Features

To Test

npm install
grunt

Building requires grunt-cli