A cookie-sized JavaSript library wrapping the IndexedDB "HTML5" database API.
- Simpified callbacks through promises
- Transaction and optionally version-free
- Declarative databases, object stores and indexes
- 4KB gzipped (15KB uncompressed)
- Download the lastest build
- Install via bower:
bower install dash
/* 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.object({ database: 'foo', store: 'bar', data: { baz: new Date().getTime() } )
(function(add_context) {
dash.get.object(add_context)
(function(get_context) {
console.log('Data', get_context.entry)
});
});
- Free (MIT Licensed)
- Task-based Development Workflow
- Automated Jasmine Testing
- Coverage Testing
- Continuous Integration and Coverage Reporting
npm install
grunt
Building requires grunt-cli