Skip to main content

Built and signed on GitHub Actions

A plugin that catches errors with the retry_after field (rate limit errors), waits for the specified time and repeats the API request.

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
7 months ago (0.0.3)

API Retry plugin

Built and signed on
GitHub Actions
View transparency log

Add Package

deno add jsr:@gramio/auto-retry

Import symbol

import * as auto_retry from "@gramio/auto-retry";

---- OR ----

Import directly with a jsr specifier

import * as auto_retry from "jsr:@gramio/auto-retry";

Add Package

npx jsr add @gramio/auto-retry

Import symbol

import * as auto_retry from "@gramio/auto-retry";

Add Package

yarn dlx jsr add @gramio/auto-retry

Import symbol

import * as auto_retry from "@gramio/auto-retry";

Add Package

pnpm dlx jsr add @gramio/auto-retry

Import symbol

import * as auto_retry from "@gramio/auto-retry";

Add Package

bunx jsr add @gramio/auto-retry

Import symbol

import * as auto_retry from "@gramio/auto-retry";