A very lightweight HTTP client for Node
npm i requesta
Require the library.
const r = require('requesta');
Let's make a request in an async function.
(async () => {
const res = await r('https://hacker-news.firebaseio.com/v0/item/8863.json').send();
console.log(await res.text());
})();
... more example to come...