cache-queue

0.0.1 • Public • Published

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');
 

Readme

Keywords

none

Package Sidebar

Install

npm i cache-queue

Weekly Downloads

0

Version

0.0.1

License

none

Last publish

Collaborators

  • leonchen