P Memoize

P Memoize

Memoization wrapper for promise-returning and async functions, caching resolved results by argument key with an LRU cache and optional TTL, while handling concurrent in-flight calls and rejected promises predictably.

P Memoize: P-memoize at github.com/sindresorhus/p-memoize is a free MIT memoization wrapper for promise-returning and async functions, npm p-memoize 9.0.0 Node.js >= 22, caches resolved results by argument key with an LRU cache and optional TTL while handling concurrent in-flight calls and rejected promises predictably, no sold commercial tier (data as of Nov 22, 2026).

Visit Official Website

*This is an affiliate link, we may earn a commission at no extra cost to you.

Is P Memoize free?

P Memoize: P-memoize is free open-source software released under the MIT License; the p-memoize package latest 9.0.0 on npm requires Node.js >= 22. It memoizes promise-returning and async functions, caching resolved results under an argument-derived key with a configurable LRU cache and TTL, and keeps concurrent calls consistent so the same pending promise is reused until it settles. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Check the official page for current status before relying on it.

Frequently Asked Questions

Is P Memoize free?

The code is free to self-host, but a hosted plan from the vendor may not be. P Memoize publishes its source, so cost depends on where you run it.

How much does P Memoize cost?

P-memoize is free open-source software released under the MIT License; the p-memoize package latest 9.0.0 on npm requires Node.js >= 22. It memoizes promise-returning and async functions, caching resolved results under an argument-derived key with a configurable LRU cache and TTL, and keeps concurrent calls consistent so the same pending promise is reused until it settles. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.

Where can I check P Memoize's current pricing?

On P Memoize's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.

What is P Memoize?

The wrapped async function computes a cache key from its arguments, returns a cached promise when the key is fresh, and otherwise holds the in-flight promise so concurrent callers share it; rejected promises can be excluded from the cache and the store can use the bundled LRU or a custom backend.

How does pricing work?

The package installs free under MIT with no seat license; it caches promises in-process, and commercial support would be outside the open-source project.

How does P Memoize compare with other tools in Dev Workflow & Productivity?

P Memoize is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.

ToolPricing modelKey pricing on filePrice checked
P MemoizeOpen sourceP-memoize is free open-source software released under the MIT License; the p-memoize package latest 9.0.0 on npm requires Node.js >= 22. It memoizes promise-returning and async functions, caching resolved results under an argument-derived key with a configurable LRU cache and TTL, and keeps concurrent calls consistent so the same pending promise is reused until it settles. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026
Quick LruOpen sourceQuick-lru is free open-source software released under the MIT License; the quick-lru package latest 8.0.0 on npm requires Node.js >= 22. It keeps a simple bounded map ordered by most recent use, evicting the least recent entry when the max size is reached, with a small dependency-free footprint suitable for fast in-memory caches where a full-featured LRU implementation is unnecessary. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026
MemoizeeOpen sourceMemoizee is free open-source software released under the ISC License; the memoizee package latest 0.4.17 on npm has a broad Node.js >= 0.12 engine range. It wraps a function so its return value is cached under an argument-derived key, supporting LRU eviction, TTL expiry, promise resolution and argument serialization options, so repeated calls with the same inputs reuse the cached result instead of repeating an expensive computation or request. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026

3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.

Full pricing breakdown

P Memoize's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.

Open source does not always mean every hosted version is free.

Key pricing: P-memoize is free open-source software released under the MIT License; the p-memoize package latest 9.0.0 on npm requires Node.js >= 22. It memoizes promise-returning and async functions, caching resolved results under an argument-derived key with a configurable LRU cache and TTL, and keeps concurrent calls consistent so the same pending promise is reused until it settles. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).

Estimate your monthly bill with our calculator →Or build a full stack around your budget →

Pricing Guides & Comparisons

Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.

⭐ Rate this tool

How would you rate this tool?

🚀 Never Miss a New AI Coding Tool

Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.

Tool Information

  • Official Websitegithub.com
  • CategoryDev Workflow & Productivity
  • PricingOpen Source
  • Price checkedNov 22, 2026

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates