Api for doing simple and intuitive operations towards indexedDB.
yarn add simple-indexeddb
npm install simple-indexeddb
import {createStore, put, remove} from 'simple-indexeddb';
createStore("myDatabase", "myStore");
// adding (specifying path to key, 'id')
put("myDatabase", "myStore", {id : 1, text : "buy milk", done : false}, "id");
// replacing (same key!)
put("myDatabase", "myStore", {id : 1, text : "walk the dog", done : false}, "id");
// same key as earlier
remove(1, "myStore", "myDatabase");