fetch-as

v1.1.0
Fetch API in Node.js with specific response type
array-buffer blob buffer fetch fetch-api fetch-as json node node-fetch and 4 more...

build

rm -rf dist/ && npm run rollup

build:test

rm -rf dist/ && tsc -p ./tsconfig.test.json

lint

tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'

lint:debug

tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'

prepublishOnly

npm run lint && npm run build

rollup

rollup -c ./rollup.config.js

test

npm run build:test && jest --config ./.jestrc.json

ts

rm -rf dist/ && tsc

watch

npm run ts -- --watch
npm i fetch-as

Metadata

  • MIT
  • >= 8.9.0
  • Rong Sen Ng
  • released 3/23/2019

Downloads

Maintainers