Skip to content

roganmelo/soft-indexeddb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 => {
    // ...
  })

About

💾 Minimalist indexeddb abstraction

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published