npm i regit
Get Google status, title and body:
const reqit = require('reqit');
reqit({
url: 'https://www.google.com',
charset: 'utf-8'},
(error, result) => {
console.log(result);
});
// {status: 200, title: 'Google', body: '...'}
© 2018 ExtensionsApp