ts-retry

v2.3.0
A little retry tool to execute a function until the function is sucessfull. 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 10 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 1/29/2021

Downloads

Maintainers