Skip to content

Releases: mdawar/memoize-utils

v1.0.1

28 Jun 15:12
Compare
Choose a tag to compare

Added helpers module for commonly used cacheId functions.

Functions added:

  • all: Get an ID from all the arguments casted to a string and then joined together.
  • json: Get a JSON string ID from the arguments (JSON.stringify(args)).
  • anyOrder: Get the same ID from a set of arguments passed in any order.

v1.0.0

26 Jun 19:05
Compare
Choose a tag to compare

Memoize function and TypeScript decorator.