More memoization. https://cndtr.dev/memor
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

661 B

v0.2.0

  • Add ability to extend memoization behavior with memor.add and memor.addCustom
  • Support keying on prototype-less objects

v0.1.4

  • Add function to clear all cached values for a memoized function
  • Expose original function as .original on memoized function

v0.1.3

  • Normalize order of property symbol keys in POJOs
  • Fix keying of sparse arrays

v0.1.2

  • Key POJOs according to symbolic properties as well, just without order normalization
  • Don't crash on objects with null prototype

v0.1.1

  • When creating cache keys for POJOs, use non-enum keys as well, and normalize key order
  • Add documentation

v0.1.0

  • Initial release