cachefactory-ng
v0.3.0
Published
A stand alone cacheFactory split from angular $cacheFactory
Downloads
7
Readme
cachefactory-ng
A stand alone cacheFactory split out from angular $cacheFactory. You can use it in any of your JavaScript applications, it doesn't have to be angular.js related.
Install
npm install cachefactory-ng
APIs
See angular.js $cacheFactory
.
Usage
import cacheFactory from 'cachefactory-ng'
let cache = cacheFactory('cacheId');
cache.put('key', value);
Related
License
MIT