returns the contents of a webpage wrapped in a promise
$ npm install --save grab-page
import grab from 'grab-page';
grab('http://www.example.com').then(data => {
// do something with data
console.log(data);
});
MIT © Christopher Howard
returns the contents of a webpage wrapped in a promise
$ npm install --save grab-page
import grab from 'grab-page';
grab('http://www.example.com').then(data => {
// do something with data
console.log(data);
});
MIT © Christopher Howard
npm i grab-page
3
0.0.3
MIT