Extends lru-cache to add file system support
npm install lru-cache-fs


Extends lru-cache to add file system support.
```
npm install lru-cache-fs
Retrieve cache:
`js
const Cache = require('lru-cache-fs')
const cache = new Cache({
max: 100,
cacheName: "cache" // filename ref to be used
});
`
By default it will use os specific paths, using env-paths.
Then retrieve/set items using:
`js`
cache.get('some-item') // returns whatever was stored
cache.set('some-new-item', 'foo') // sets new item and stores cache sync to fs
The fsDump() method exposes an API that allows you to persist the current cache on your file system:
`js`
cache.fsDump()
All other methods from lru-cache should be available, e.g:
`js``
cache.dump() // retrieves dump of current cache memory
MIT © 2019 Ruy Adorno