instore-cache
node module to cache instore.
Install.
npm install instore-cache # yarn yarn add instore-cache
Looking to cache access token your application.
You can use expirable-cache
which caches until the time exceeds the expiry time.
const expirableCache = ;expirableCache;expirableCache;
Features
- you can specify the expiration time and provide the callback which calls after time has been expired.