@ultraq/function-utils
A collection of utilities for JavaScript functions
A collection of utilities for JavaScript functions
Converts ES6 classes into classes with memoized getters
Memoize functions results using an lru-cache.
Helpful functions for working in a functional style
Memoize Node.js style callback-last functions, using an in-memory LRU store
A decorator that overwrites lodash memoize function to reflect changes in objects' values and to include other function parameters than first while checking if something has been changed in passed arguments
A memoize function for reselect which will make a callback when a result changes
Powerful memoization helper
Memoization with shallowly comparing object arguments.
Memoize action creator for redux, and let you dispatch common/thunk/promise/async action whenever you want to, without worrying about duplication
A simple javascript utility for function binding memoization.
Memoization made easy
Memoize using keyv as storage backend.
Simple memoization decorator for TypeScript
Utility functions
Wraps a function with a caching layer
Works just like a normal memoize function. The only difference is that it expects the function you are memoizing to return a promise. Until that promise has resolved/rejected, subsequent calls to the function will return the same promise.
Memoization of function with a distributed cache like Redis
Memoize decorator for Typescript