0.1.0 • Published 8 years ago

map-cache2 v0.1.0

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

Installation

npm install --save map-cache2

Usage

const MapCache2 = require('map-cache2');

let map = new MapCache2(15000);

map.set('a', 'aa');

map.set('b', 'bb', 1000);

map.get('a');

map.get('a', 500);

map.clean();

map.clear();