git404hub

what is p-retry fr?

n8n-io/p-retry — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2024-03-14

4JavaScriptAudience · developerComplexity · 2/5DormantSetup · easy

tl;dr

A JavaScript library that automatically retries failed operations, like API calls, with smart exponential backoff.

vibe map

mindmap
  root((p-retry))
    What it does
      Retries failed functions
      Uses exponential backoff
      Lets you skip pointless retries
    Tech stack
      JavaScript
    Use cases
      Retry flaky API calls
      Retry failed file uploads
      Reliably deliver webhooks
    Audience
      Developers
      Backend engineers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Automatically retry a flaky API call with exponential backoff.

VIBE 2

Skip retries immediately when an error like a 404 means retrying is pointless.

VIBE 3

Reliably retry a cloud storage upload or webhook delivery job.

what's the stack?

JavaScript

how it stacks up fr

n8n-io/p-retryarata-ae/purupurupngtubercarrycooldude/nova-ide
Stars444
LanguageJavaScriptJavaScriptJavaScript
Last pushed2024-03-14
MaintenanceDormant
Setup difficultyeasymoderate
Complexity2/53/5
Audiencedevelopergeneralvibe coder

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min
The README does not specify license terms for this repository.

prompts (copy fr)

prompt 1
Show me how to wrap an async fetch call with p-retry so it retries on failure.
prompt 2
Help me configure p-retry to bail out immediately on 404 errors but retry on 500s.
prompt 3
Explain how to use AbortController with p-retry to cancel retries in progress.
prompt 4
Write a logging hook that fires every time p-retry attempts a retry.

Frequently asked questions

what is p-retry fr?

A JavaScript library that automatically retries failed operations, like API calls, with smart exponential backoff.

What language is p-retry written in?

Mainly JavaScript. The stack also includes JavaScript.

Is p-retry actively maintained?

Dormant — no commits in 2+ years (last push 2024-03-14).

What license does p-retry use?

The README does not specify license terms for this repository.

How hard is p-retry to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is p-retry for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.