@jollie/node-fetchjson
v2.0.0
Published
Fetch wrapper to easily request an API
Downloads
1
Readme
for internal use only - Just draft idea to easily fetch API in our apps
fetchjson
Brings fetchjson to Node
for more infos, see fetchjson
Install
yarn add @jollie/node-fetchjson
or
npm install @jollie/node-fetchjson
Usage
const fetchjson = require('@jollie/node-fetchjson');
fetchjson('https://myapi.io/v1/users').then(payload => console.log(payload));