fare-memoization
fare-memoization is a library for memoizing functions.

Unlike other similar libraries, it has well-defined semantics, is portable and extensible.

https://github.com/fare/fare-memoization