fetch-response-json
v1.0.1
Published
The response.json call for fetch.
Downloads
3
Readme
fetch-response-json
json response for fetch
install
npm i fetch-response-json
usage
import fetchResponseJson from 'fetch-response-json';
fetch('/endpoint')
.then(fetchResponseJson)
.then(data => console.log(data));