reqit
v1.0.1
Published
Simple request and get only HTTP-status, title and body page.
Downloads
2
Maintainers
Readme
Simple request for NodeJS.
Installation
npm i regit
Usage
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