0.0.1 • Published 12 years ago
cache-queue v0.0.1
cacheQueue
Queue for caching objects
Usage:
var Queue = require('cache-queue');
// you can set the expire time(ms) and the total number of caching objects
var cache = Queue.get('mydata', {duration: 3600000, length: 500});
cache.set('mykey', "this is my data");
cache.get('mykey');
0.0.1
12 years ago