0.0.6 • Published 7 years ago
webgrab v0.0.6
webgrab - grab data from html page
Install
npm install webgrab --save
or
yarn add webgrab
Usage
import grab, { sel, text } from "webgrab";
grab("https://google.com/", {
title: sel("title", text()),
}).then((data)=>{
console.log(data.title);
});
API
All methods described here: https://github.com/arvitaly/page-grabber
Test
npm install
npm test