1.0.2 • Published 7 years ago

soft-indexeddb v1.0.2

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

soft-indexeddb

Minimalist indexeddb abstraction 💾

NPM version

Npm Downloads

Installation

npm install --save soft-indexeddb

Usage

const idb = new IDB({
  name: 'db',
  version: 5,
  stores: [
    {
      name: 'store1',
      autoIncrement: true
    },
    {
      name: 'store2',
      autoIncrement: true
    }
  ]
});

idb.store('store1').find()
  .then(res => {
    // ...
  })
  .catch(err => {
    // ...
  })
1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago