memoize

Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input

v11.0.0 MIT 9 versions Maintained by sindresorhus
  • memoize
  • function
  • mem
  • memoization
  • cache
  • caching
  • optimize
  • performance
  • ttl
  • expire
  • promise
Weekly downloads
1.6M -19%
vs previous week
Last 30 days
7.3M
Stars

Downloads

Activity

22.5M total · Jun 5, 2026 – Sep 2, 2026

Versions

Downloads by version

Last 7 days

Releases

9 releases published since May 5, 2011

Issues

Pull requests