The p-retry package has seen sporadic releases since its initial version in October 2016. Releases were infrequent until 2019, with occasional updates. A period of more consistent releases occurred in early 2021. After version 5, releases slowed again. The package saw an update in August 2023, another in September 2023, and another at the end of December 2023, with version 6.2.1 landing in November 2024. The latest release was in August 2025, version 7.0.0.
p-retry's downloads show a generally increasing trend from March 2024 to July 2025, peaking at around 87 million in June 2025. August 2025 saw a slight decrease. September 2025 downloads are significantly lower, but the month is still in progress.
p-retry is a promise-based retry utility for Node.js. It retries a function until it succeeds, handling potential errors or timeouts gracefully. Configure retry attempts, delays, and error filtering to suit specific needs. Ideal for unreliable network requests, flaky APIs, or any operation prone to transient failures. Offers robust error handling and customizable logic to increase application resilience. Great for building complex systems that depend on error-prone operations.