UNPKG

@geersch/retry

Version:

Backoff strategies to use when retrying a function after a given delay.

60 lines 1.82 kB
{ "name": "@geersch/retry", "version": "1.1.0", "description": "Backoff strategies to use when retrying a function after a given delay.", "repository": { "type": "git", "url": "git+https://github.com/geersch/retry.git" }, "author": "Christophe Geers", "license": "MIT", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist/**/*", "lib/**/**" ], "scripts": { "clean": "rimraf -rf dist && rimraf coverage && rimraf junit.xml && rimraf tsconfig.package.tsbuildinfo", "build": "tsc -b tsconfig.package.json", "build:check": "tsc", "check-exports": "attw --pack . --ignore-rules=cjs-resolves-to-esm", "lint": "eslint \"lib/**/*.ts\" \"tests/**/*.ts\" --fix", "lint:check": "eslint \"lib/**/*.ts\" \"tests/**/*.ts\"", "format": "prettier --write \"lib/**/*.ts\" \"tests/**/*.ts\"", "format:check": "prettier --check \"lib/**/*.ts\" \"tests/**/*.ts\"", "prepack": "yarn clean && tsc -b tsconfig.package.json", "test": "cd ../.. && yarn vitest --project packages/retry" }, "keywords": [ "exponential", "backoff", "jitter", "retry" ], "bugs": { "url": "https://github.com/geersch/retry/issues" }, "homepage": "https://github.com/geersch/retry#readme", "dependencies": { "rxjs": "^7.0.0" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.2", "@eslint/js": "^9.39.2", "@types/node": "^24.10.4", "@types/supertest": "^6.0.3", "@vitest/eslint-plugin": "^1.5.4", "eslint": "^9.39.2", "globals": "^16.5.0", "prettier": "^3.7.4", "reflect-metadata": "^0.2.2", "rimraf": "^6.1.2", "rxjs": "^7.0.0", "supertest": "^7.1.4", "ts-node": "^10.9.2", "typescript": "^5.9.3", "typescript-eslint": "^8.50.0" } }