cachetable
v0.1.2
Published
expiration key/value cache
Downloads
1
Readme
caching library with expiration capabilities
To install cachetable, simply run:
npm install cachetable
Example:
const Cache = require("cachetable");
const table = Cache('Table');
//10 seconds expiration
let item = table.add('item1', 10000, 'value1');
源码地址
https://github.com/xxyGoTop/js_node_record/tree/master/cache