README
local-cache
Node JS local JSON cache
Install:
npm install local-cache [--save]
Usage:
var Cache = require('local-cache'); var cache = new Cache();
cache.write('stats', object);
var content = cache.read('stats');
Local JSON cache
<script type="module">
import localCache from 'https://cdn.skypack.dev/local-cache';
</script>
Node JS local JSON cache
npm install local-cache [--save]
var Cache = require('local-cache'); var cache = new Cache();
cache.write('stats', object);
var content = cache.read('stats');