Simple localStorage interface with timestamp based filtering and management
NPM
npm install johnny-cache-ls
CDN
<script type="module" src="https://unpkg.com/johnny-cache-ls"></script>
_Note:
ES6 Style Import
import JohnnyCache from 'johnny-cache-ls';
let cache = new JohnnyCache()
cache.set('stage-clothes', { color: black, coatLength: 'long' })
console.log(cache.get('stage-clothes'))