features
- promise supports
- ttl support
- delete and get elements in the form of arrays
- json format data storage and retrieval
install
npm i --save valuecache@latest
usage
const valuecache = const cache = async { await cache await cache await cache // { "foo": "bar" } await cache // "bar" await cache // [{ "foo": "bar" }, "bar"] await cache }