Node.js Request with Async/Await
const util = require('util')
const request = require("request");
const requestPromise = util.promisify(request);
const response = await requestPromise('https://www.google.com');
console.log('response', response.body);
no comments