ts-retry

v4.0.0
A little retry tool to execute a function until the function is successful. Can also bind a timeout to a function. This lib is usable in typescript, in javascript, in node, in SPA tools (rest, Vue, Svelte...) and browser (available in ESM and common js fo
typescript javascript retry repeat replay node nodejs error promise and 11 more...

test

mocha --require ts-node/register src/**/*.test.ts

build

tsc && tsc -p tsconfig.esm.json

watch

tsc --watch

prebuild

rimraf lib

test-coverage

nyc mocha --require ts-node/register src/**/*.test.ts

Metadata

  • MIT
  • Whatever
  • Franck Ledoux
  • released 10/16/2022

Downloads

Maintainers