memoi

0.0.2 • Public • Published

Memoi Build Status

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(- 1) + fibonacci(- 2);
});
 
fibonacci(10); // 55

License

The MIT License (MIT) Copyright (c) 2014 Masaaki Morishita

Readme

Keywords

Package Sidebar

Install

npm i memoi

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • morishitter