IndexedDB Driver For feather-cache Storage.
npm install feather-cache-indexeddbIndexedDB Driver For feather-cache Storage.





> This module requires IndexedDB supported environments (like Browser) to run properly.
This module enables feather-cache storage to work with IndexedDB.
With npm
``bash`
npm i --save feather-cache-indexeddb
With yarn
`bash`
yarn add feather-cache-indexeddb
You don't have to install type definitions for typescript. It's built in.
`ts`
idbFeatherCacheDriver(maxAgeInMs);
Default maxAgeInMs (number) is 5 min.
`ts
import { FeatherCache } from 'feather-cache';
import { idbFeatherCacheDriver } from 'feather-cache-indexeddb';
// or
const { FeatherCache } = require('feather-cache');
const { idbFeatherCacheDriver } = require('feather-cache-indexeddb');
// init
const storage = new FeatherCache(idbFeatherCacheDriver(60 1000 5));
``
Version of ts-np-generator used: 
MIT © Vajahath Ahmed