0.0.5 • Published 7 years ago

memoize-proxy v0.0.5

Weekly downloads
8
License
MIT
Repository
github
Last release
7 years ago

memoize-proxy

flipactual Travis Codecov Node NPM

Memoize functions

MemoizeProxy(functionToProxy) ⇒ proxy

MemoizeProxy - provides a proxy for memoizing functions

Kind: global function
Returns: proxy - the proxy to that function

ParamTypeDescription
functionToProxyfunctionthe function to proxy

Example

let fib = n => (n <= 1 ? 1 : fib(n - 1) + fib(n - 2));
fib = new MemoizeProxy(fib);
fib(100);

Scripts

test – run the tests

npm run test

coverage – generate and view code coverage as HTML

npm run coverage

lint – lint the codebase

npm run lint

readme – generate the README

npm run readme

compile – compile the code

npm run compile

License

MIT @ Flip

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

8 years ago

0.0.0

8 years ago