New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

memoi

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memoi

Memoize with any storages

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

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

fibonacci(10); // 55

License

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

Keywords

memoize

FAQs

Package last updated on 02 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts