Memoized
A small library to memoize functions for Node.js and web browser.
It supports limiting cache size and governing cache by the performance or frequency of function calls.
Installation
npm i memoized --saved
Usage
var memoized = memoized;
Example
var memoized = ; var { if n === 0 || n === 1 return n; else return + ; } var fib = memoized;;