1.0.1 • Published 5 years ago

@tyimarques/memoize v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Memoize

Caches function output with separated cache for each input signature

Table of Contents

Installation

npm i @tyimarques/memoize

Usage

import Memoize from "@tyimarques/memoize";
const callback = () => true;
const callbackMemoized = new Memoize(callback);
callbackMemoized();
callbackMemoized();//cached result

License

MIT

1.0.1

5 years ago

1.0.0

5 years ago