0.1.2 • Published 5 years ago
cachetable v0.1.2
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