P-retry

P-retry

Promise retry wrapper for JavaScript that re-runs a failing async function with configurable retries, delay factor, jitter and error filtering, with attempt metadata exposed, used to ride out transient network or API failures.

p-retry at github.com/sindresorhus/p-retry is a free MIT promise retry wrapper for JavaScript, npm p-retry 9.0.0 Node.js >= 22, re-runs a failing async function with configurable retries backoff jitter and error filtering and exposes attempt metadata, rides out transient network or API failures, 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-retry free?

P-retry: p-retry is free open-source software released under the MIT License; the p-retry package latest 9.0.0 on npm requires Node.js >= 22. It re-invokes an async function after failures with configurable attempt count, exponential backoff, delay factor, jitter and error filtering, and surfaces attempt metadata, so transient network or API errors can be retried instead of failing the whole batch. 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-retry free?

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

How much does P-retry cost?

p-retry is free open-source software released under the MIT License; the p-retry package latest 9.0.0 on npm requires Node.js >= 22. It re-invokes an async function after failures with configurable attempt count, exponential backoff, delay factor, jitter and error filtering, and surfaces attempt metadata, so transient network or API errors can be retried instead of failing the whole batch. 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-retry's current pricing?

On P-retry'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-retry?

An async operation is wrapped with options for maximum attempts, factor and minimum delay; on rejection the wrapper waits the backoff interval, may filter which errors are retryable, and resolves on success or rejects after the final attempt with the last error.

How does pricing work?

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

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

P-retry 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-retryOpen sourcep-retry is free open-source software released under the MIT License; the p-retry package latest 9.0.0 on npm requires Node.js >= 22. It re-invokes an async function after failures with configurable attempt count, exponential backoff, delay factor, jitter and error filtering, and surfaces attempt metadata, so transient network or API errors can be retried instead of failing the whole batch. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026
P-queueOpen sourcep-queue is free open-source software released under the MIT License; the p-queue package latest 10.0.0 on npm requires Node.js >= 22. It queues promise-returning tasks with a concurrency limit and optional priority, exposing pause, clear, timeout and progress events, so background jobs such as bulk imports, crawls or API bursts run in an orderly, throttled schedule. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).Nov 22, 2026
P-timeoutOpen sourcep-timeout is free open-source software released under the MIT License; the p-timeout package latest 8.1.0 on npm requires Node.js >= 22. It wraps a promise and rejects if it does not settle within a configurable delay, with a fallback value, custom message and dedicated timeout error, so hung network calls or file operations cannot stall an async pipeline indefinitely. 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-retry'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-retry is free open-source software released under the MIT License; the p-retry package latest 9.0.0 on npm requires Node.js >= 22. It re-invokes an async function after failures with configurable attempt count, exponential backoff, delay factor, jitter and error filtering, and surfaces attempt metadata, so transient network or API errors can be retried instead of failing the whole batch. 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