memoi
v0.0.2 memoize storage cache
Memoi
Memoize with any storages.
Installation
npm install memoi
Features
- Adopt KVS(ex. memcached, redis), and use same API with memoize.
comming soon.
Example
var memoi = require('memoi');
var fibonacci = memoi.ze(function(n) {
return n < 2 ? n: fibonacci(n - 1) + fibonacci(n - 2);
});
fibonacci(10); // 55
License
The MIT License (MIT) Copyright (c) 2014 Masaaki Morishita
npm i memoi
Source Code
github.com/morishitter.memoi...Metadata
- MIT
- Whatever
- Masaaki Morishita
- released 5/2/2014