0.0.2 • Published 11 years ago
cache-memoize v0.0.2
Memoize function results into node-cache
simple cache memoize with node-cache backend
Install
$ npm install --save cache-memoizeUsage
var memoize = require('cache-memoize');
var memoizedRandom = memoize(function() { return Math.floor(Math.random()*100);}, 2);
memoizedRandom();License
MIT © Irfan Shah