memoizerific
memoizerific copied to clipboard
Fast, small, efficient JavaScript memoization lib to memoize JS functions.
Moved the types inside the `declare module "memoizerific"` block so that they don't add the types at the global scope.
Along with specifying an amount of cached parameter mutations, it would be nice to also be able to specify a time limit, or maximum age, a cached parameter mutation persists....
Useful when deep comparison is needed Example: normalizerFn = obj => JSON.stringify(obj)