Cache abstraction around Dexie.js.
npm i --save unity-cache
Returns: {Object}
Use module's default export
to create an API object.
Return asynchronous cache methods: get
, set
, remove
, drop
.
Database stores (tables).
Default: unity
Database name.
Default: 1
Database version. The old database with the same name will be deleted.
You can call methods like so: cache[method](store, key, value)
All methods are asynchronous.
npm run commit
instead of git commit
.MIT © AuRu