fetch-wrap

v0.1.2
extend WHATWG fetch wrapping it with middlewares
fetch wrap middleware whatwg http client isomorphic

lint

make -s && eslint src test

test

make -s && eslint src test && mocha

check

npm-check && npm audit

checku

npm-check -u && npm audit

preversion

npm test && npm run check

postversion

git push && git push --tags && npm publish

watch

make -s && nodemon --exec "npm test"

cover

istanbul cover --root src _mocha

cover-report

open coverage/lcov-report/index.html

cover-publish

istanbul cover _mocha --report lcovonly && codeclimate-test-reporter < coverage/lcov.info
npm i fetch-wrap

Metadata

  • MIT
  • Whatever
  • Benjamin Eidelman
  • released 7/10/2019

Downloads

Maintainers