Awesome Lists

p-memoize

by sindresorhus

TypeScriptpushed over 3 years ago

Memoize promise-returning & async functions

AI summary

Function caching library

Memoizes promise-returning and async functions to cache consecutive function calls by storing results of identical input.

stars
397
forks
30
watching
8
awesome list
1
View on GitHub

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/sindresorhus/p-memoize/links.svg)](https://awesome.facts.dev/awesome/sindresorhus/p-memoize)
HTML
<a href="https://awesome.facts.dev/awesome/sindresorhus/p-memoize"><img src="https://awesome.facts.dev/shield/sindresorhus/p-memoize/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/sindresorhus/p-memoize/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.