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));