{"_id":"@ekhein/async-retry-decorator","_rev":"5-0f483471156d61407f0045a25c356dca","name":"@ekhein/async-retry-decorator","dist-tags":{"latest":"1.10.5"},"versions":{"1.10.1":{"name":"@ekhein/async-retry-decorator","version":"1.10.1","keywords":["async-retry","retry","decorator","typescript"],"author":{"name":"Nehorim"},"license":"ISC","_id":"@ekhein/async-retry-decorator@1.10.1","maintainers":[{"name":"ekhein","email":"1373657363@qq.com"}],"homepage":"https://github.com/Nehorim/async-retry-decorator","dist":{"shasum":"ec796d42e8d6ba1d71503e5861c3a0d9c7a6461f","tarball":"https://registry.npmjs.org/@ekhein/async-retry-decorator/-/async-retry-decorator-1.10.1.tgz","fileCount":6,"integrity":"sha512-S7dsMOcrCRJXhzuz7t/eIDbxflrXR7QOHLlRF/l0i03oaunbNbgKTasu19Sw+8SBihef+JzaYD+9ikACCpzZCA==","signatures":[{"sig":"MEUCIGojgfOj9SR4sreBNmx5yKdgjuu5qfw2+LIv8Nj3iCJ9AiEA5ufPZ/lLKTor9uA4iJKys9qrNI68vW1Crkq/nWKgyFM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5822},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"e08fecf8d6f18b444dca7c400452792fa64543dd","scripts":{"build":"rm -rf lib/ && tsc -p tsconfig.build.json","start":"npm run build:live"},"_npmUser":{"name":"ekhein","email":"1373657363@qq.com"},"_npmVersion":"10.8.2","description":"Typescript decorator to use the library async-retry","directories":{},"_nodeVersion":"18.20.7","dependencies":{"async-retry":"^1.3.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","jest":"^27.2.1","husky":"^7.0.2","eslint":"^7.32.0","ts-jest":"^27.0.5","prettier":"^2.4.1","typescript":"^4.4.3","@types/jest":"^27.0.2","@types/node":"^16.9.6","@types/async-retry":"^1.4.3","eslint-plugin-import":"^2.24.2","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^4.31.2","eslint-config-airbnb-base":"^14.2.1","@typescript-eslint/eslint-plugin":"^4.31.2"},"_npmOperationalInternal":{"tmp":"tmp/async-retry-decorator_1.10.1_1764504909557_0.1717760365415235","host":"s3://npm-registry-packages-npm-production"}},"1.10.2":{"name":"@ekhein/async-retry-decorator","version":"1.10.2","keywords":["async-retry","retry","decorator","typescript"],"author":{"name":"Nehorim"},"license":"ISC","_id":"@ekhein/async-retry-decorator@1.10.2","maintainers":[{"name":"ekhein","email":"1373657363@qq.com"}],"homepage":"https://github.com/Nehorim/async-retry-decorator","dist":{"shasum":"b6a078a5c01a1896a93a796a803f3d69023bbb06","tarball":"https://registry.npmjs.org/@ekhein/async-retry-decorator/-/async-retry-decorator-1.10.2.tgz","fileCount":6,"integrity":"sha512-6a9tt4ZSepPu1vFvvhf/9nFdvRi5qI3h9it2uKgG7gHXK6dm+LIyFHmfsjLfr86QDI65ufODJ/SyTTZzQLoQiA==","signatures":[{"sig":"MEUCIQCgnPLk5LG6KKPomCZWuZKvozYCKsdLLG54vICDTjuGqwIgFZNZ+vBcxCH9v3KWJEqVthuUg1U/1TUb9PEDQvjaD7w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5940},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"e08fecf8d6f18b444dca7c400452792fa64543dd","scripts":{"build":"rm -rf lib/ && tsc -p tsconfig.build.json","start":"npm run build:live"},"_npmUser":{"name":"ekhein","email":"1373657363@qq.com"},"_npmVersion":"10.8.2","description":"Typescript decorator to use the library async-retry","directories":{},"_nodeVersion":"18.20.7","dependencies":{"async-retry":"^1.3.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","jest":"^27.2.1","husky":"^7.0.2","eslint":"^7.32.0","ts-jest":"^27.0.5","prettier":"^2.4.1","typescript":"^4.4.3","@types/jest":"^27.0.2","@types/node":"^16.9.6","@types/async-retry":"^1.4.3","eslint-plugin-import":"^2.24.2","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^4.31.2","eslint-config-airbnb-base":"^14.2.1","@typescript-eslint/eslint-plugin":"^4.31.2"},"_npmOperationalInternal":{"tmp":"tmp/async-retry-decorator_1.10.2_1764512490795_0.9447337456623177","host":"s3://npm-registry-packages-npm-production"}},"1.10.3":{"name":"@ekhein/async-retry-decorator","version":"1.10.3","keywords":["async-retry","retry","decorator","typescript"],"author":{"name":"Nehorim"},"license":"ISC","_id":"@ekhein/async-retry-decorator@1.10.3","maintainers":[{"name":"ekhein","email":"1373657363@qq.com"}],"homepage":"https://github.com/Nehorim/async-retry-decorator","dist":{"shasum":"6396f01ded219c4744d7f6c959696e063d77cb22","tarball":"https://registry.npmjs.org/@ekhein/async-retry-decorator/-/async-retry-decorator-1.10.3.tgz","fileCount":6,"integrity":"sha512-hZNYCpSBmszhZIF16N1M1AXmdvJuDl/BPF1WvM+cw733zMR/D0m2j/g//DEpMwiawNDfuzgEmyFuI+HwGVj5lw==","signatures":[{"sig":"MEYCIQCJHNXlJbY5gIqmtHd2mqSgY6FjScmTRB7UpI033lUbhgIhAKT77IVzSKMHHYEx4ngZLp5Qvu3Jn44OrYYSh+3slDAS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5649},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"e08fecf8d6f18b444dca7c400452792fa64543dd","scripts":{"build":"rm -rf lib/ && tsc -p tsconfig.build.json","start":"npm run build:live"},"_npmUser":{"name":"ekhein","email":"1373657363@qq.com"},"_npmVersion":"10.8.2","description":"Typescript decorator to use the library async-retry","directories":{},"_nodeVersion":"18.20.7","dependencies":{"async-retry":"^1.3.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","jest":"^27.2.1","husky":"^7.0.2","eslint":"^7.32.0","ts-jest":"^27.0.5","prettier":"^2.4.1","typescript":"^4.4.3","@types/jest":"^27.0.2","@types/node":"^16.9.6","@types/async-retry":"^1.4.3","eslint-plugin-import":"^2.24.2","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^4.31.2","eslint-config-airbnb-base":"^14.2.1","@typescript-eslint/eslint-plugin":"^4.31.2"},"_npmOperationalInternal":{"tmp":"tmp/async-retry-decorator_1.10.3_1764676238137_0.03963763993169733","host":"s3://npm-registry-packages-npm-production"}},"1.10.4":{"name":"@ekhein/async-retry-decorator","version":"1.10.4","keywords":["async-retry","retry","decorator","typescript"],"author":{"name":"Nehorim"},"license":"ISC","_id":"@ekhein/async-retry-decorator@1.10.4","maintainers":[{"name":"ekhein","email":"1373657363@qq.com"}],"homepage":"https://github.com/Nehorim/async-retry-decorator","dist":{"shasum":"9c14d0bcaf7688515bd10e7c9bc6f3e0f1c16deb","tarball":"https://registry.npmjs.org/@ekhein/async-retry-decorator/-/async-retry-decorator-1.10.4.tgz","fileCount":6,"integrity":"sha512-RwH3PCNi8rdQsmGd4mx0TUNMdMerEAN7kt+RffmP87fxFvJ1f667xMhJ+LW2FSsPqfeLleGmf6+roRqBydYyAg==","signatures":[{"sig":"MEUCIC9XBgbKq6BZCyYOS189MpAglGystWW+iVzXBby3EyiTAiEArfIMVM3HZewwM84EuMBTLtk5pYxnhwhtwwUtleWQkjo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5478},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"e08fecf8d6f18b444dca7c400452792fa64543dd","scripts":{"build":"rm -rf lib/ && tsc -p tsconfig.build.json","start":"npm run build:live"},"_npmUser":{"name":"ekhein","email":"1373657363@qq.com"},"_npmVersion":"10.8.2","description":"Typescript decorator to use the library async-retry","directories":{},"_nodeVersion":"18.20.7","dependencies":{"async-retry":"^1.3.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","jest":"^27.2.1","husky":"^7.0.2","eslint":"^7.32.0","ts-jest":"^27.0.5","prettier":"^2.4.1","typescript":"^4.4.3","@types/jest":"^27.0.2","@types/node":"^16.9.6","@types/async-retry":"^1.4.3","eslint-plugin-import":"^2.24.2","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^4.31.2","eslint-config-airbnb-base":"^14.2.1","@typescript-eslint/eslint-plugin":"^4.31.2"},"_npmOperationalInternal":{"tmp":"tmp/async-retry-decorator_1.10.4_1764773558736_0.30854176804358824","host":"s3://npm-registry-packages-npm-production"}},"1.10.5":{"name":"@ekhein/async-retry-decorator","version":"1.10.5","description":"Typescript decorator to use the library async-retry","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"start":"npm run build:live","build":"rm -rf lib/ && tsc -p tsconfig.build.json"},"homepage":"https://github.com/Nehorim/async-retry-decorator","keywords":["async-retry","retry","decorator","typescript"],"author":{"name":"Nehorim"},"license":"ISC","devDependencies":{"@types/async-retry":"^1.4.3","@types/jest":"^27.0.2","@types/node":"^16.9.6","@typescript-eslint/eslint-plugin":"^4.31.2","@typescript-eslint/parser":"^4.31.2","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","husky":"^7.0.2","jest":"^27.2.1","prettier":"^2.4.1","ts-jest":"^27.0.5","tsx":"^4.20.6","typescript":"^4.4.3"},"dependencies":{"async-retry":"^1.3.3"},"publishConfig":{"access":"public"},"_id":"@ekhein/async-retry-decorator@1.10.5","gitHead":"e08fecf8d6f18b444dca7c400452792fa64543dd","_nodeVersion":"18.20.7","_npmVersion":"10.8.2","dist":{"integrity":"sha512-v/j+b0Jbh4dI/RH/gTPfLeRvqL2G2Ml1Ku/QpAsuvo0tKOlqPTpOD4V1qmfmvPbUZkz9e9wn01B0rZEsVQdzvw==","shasum":"409cf2436144d32bfc153061583ddab7b2028e0c","tarball":"https://registry.npmjs.org/@ekhein/async-retry-decorator/-/async-retry-decorator-1.10.5.tgz","fileCount":6,"unpackedSize":5541,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDMCFIpgJrr3WbludFyiLEeRgg90F0db9GnB6M7YiDh3gIhAMaWf3pdh81tBAeoA1UeF/O9j3t2XcEa10JWu7yOfyf2"}]},"_npmUser":{"name":"ekhein","email":"1373657363@qq.com"},"directories":{},"maintainers":[{"name":"ekhein","email":"1373657363@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/async-retry-decorator_1.10.5_1764915272150_0.5901532755398693"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-30T12:15:09.490Z","modified":"2025-12-05T06:14:32.485Z","1.10.1":"2025-11-30T12:15:09.750Z","1.10.2":"2025-11-30T14:21:30.989Z","1.10.3":"2025-12-02T11:50:38.330Z","1.10.4":"2025-12-03T14:52:38.930Z","1.10.5":"2025-12-05T06:14:32.303Z"},"author":{"name":"Nehorim"},"license":"ISC","homepage":"https://github.com/Nehorim/async-retry-decorator","keywords":["async-retry","retry","decorator","typescript"],"description":"Typescript decorator to use the library async-retry","maintainers":[{"name":"ekhein","email":"1373657363@qq.com"}],"readme":"# async-retry-decorator\n\nTypescript decorator base on [`async-retry`](https://github.com/zeit/async-retry#readme)\n\n# How to install\n\n```sh\n$ yarn add async-retry-decorator\n$ npm install --save async-retry-decorator\n```\n\n# Example\n\n```typescript\n  import { retry } from 'async-retry-decorator';\n\n  class Clazz {\n    @retry({\n      retries: 5,\n      onRetry: (error, attempt) => {\n        console.log(`Retry (${attempt}) on error`, error.message);\n      },\n    })\n    public async method(): Promise<any> {\n      // [...]\n    }\n  }\n```\n\n> You can use all options available in [`async-retry`](https://github.com/zeit/async-retry#readme) directly in the decorator options\n","readmeFilename":"README.md"}