requestretry

v7.1.0
request-retry wrap nodejs request to retry http(s) requests in case of error

test

mocha -t 2000 -R spec $(find test -name '*.test.js')

test-watch

mocha -t 100000 -R min -w $(find test -name '*.test.js')

test-coverage

nyc --all --statements=100 --lines=100 --functions=100 --branches=100 --check-coverage --reporter=lcov --reporter=cobertura --report-dir=coverage -- mocha -R spec -t 100000 $(find test -name '*.test.js')

send-coverage

cat ./coverage/lcov.info | coveralls

update

updtr

release-after-pr

git pull --rebase && npm run test-coverage && npm-release patch

changelog

conventional-changelog -i CHANGELOG.md -s -r 0

changelog-git

npm run changelog && git add CHANGELOG.md && git commit -m 'docs(changelog): updated' && git push origin master

postpublish

npm run --silent changelog-git
npm i requestretry

Metadata

  • MIT
  • Whatever
  • Francois-Guillaume Ribreau
  • released 4/25/2022

Downloads

Maintainers