IDB since 2011
JavaScript Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
behaviors . Oct 13, 2017
coverage remove coverage folder & placehold Feb 14, 2014
dist . Oct 13, 2017
docs . Oct 13, 2017
documentation Update transactions.md Dec 7, 2014
lib . Oct 13, 2017
specs . Oct 13, 2017
tasks . Feb 3, 2014
travis
.coveralls.yml builds Jun 11, 2014
.gitignore . Oct 13, 2017
.gitmodules . Feb 20, 2014
.travis.yml . Nov 19, 2015
Gruntfile.js . Oct 13, 2017
README.md
_config.yml Set theme jekyll-theme-minimal Oct 13, 2017
bower.json
index.html
karma.conf.js current browser coverage Oct 13, 2017
npm-shrinkwrap.json . Feb 14, 2014
package.json . Oct 13, 2017

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