0.0.6 • Published 7 years ago

webgrab v0.0.6

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

webgrab - grab data from html page

NPM version Build Status Dependency Status Coverage percentage experimental

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