A cookie-sized JavaSript library wrapping the IndexedDB "HTML5" database API.
- 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
/* 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)
});
});
- Free (MIT Licensed)
- Task-based Development Workflow
- Automated Jasmine Testing
- Coverage Testing
- Continuous Integration and Coverage Reporting
npm install
grunt
Building requires grunt-cli