0.0.9 • Published 6 years ago

idbi v0.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

idbi - IndexedDB ideal

IndexedDB Promised

Installation

npm install idbi --save
// or
yarn add idbi

Open

let {Books, User} = idbi.open({
  name: 'muse',
  stores: {
    Books: {
      author: {},
      dataFactory: [
        { author: 1, title: 'First book' }
      ]
    },
    User: {
      email: {}
    }
  }
})
Books.add({ title: 'The second book' })
  .then(id => console.log(id))
0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago