local-cache

Local JSON cache

Usage no npm install needed!

<script type="module">
  import localCache from 'https://cdn.skypack.dev/local-cache';
</script>

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');