$ cnpm install time-cache
A key-value cache that puts a expiry date on its entries.
> npm install time-cache
// TODO (see tests meanwhile)
const tc = new TimeCache(options)tc.put(key, value, validity)tc.has(key)tc.get(key)Contributions are welcome!
MIT
Copyright 2013 - present © cnpmjs.org | Home |