Cache-Funk is a simple helper library for interacting with the web browser's local storage cache. It introduces the concept of limited life span caches and cache inserts to local storage.
imports { exists, fetch, insert, store, remove } from cache-funk
store('KeyName', ['data','data','data','data']);
The aim of this project is to allow you to extend existing local storage cache entries and set life spans for content stored in your local storage cache (so that they can be replaced when they become stale).
When you have done that, install cache-funk by npm:
npm i cache-funk --save
You will then need to install the dependencies:
npm i
To run lint against the JavaScript code in cache-funk
npm run lint
To run spec tests against cache-funk
npm run test
@beckettkev
The MIT License (MIT)
Copyright (c) 2016 beckettkev