Description
Simple and fast JavaScript Memoization (by reference) function using WeakMap.
This package is ESM only
and can be used in Node.js
(or in a browser when bundled using e.g. Webpack).
Additionally, self-contained ECMAScript Module
(ESM) files index.js
and
index.min.js
in the ./browser
folder are provided.