hess-at-bills-table-page

Test if the current cheerio parsed html is the bills table page on the Hess Energy https://hessenergy.com website

npm install hess-at-bills-table-page
4 downloads in the last month

Hess At bills table page

Installation

npm install -S hess-at-bills-table-page

Usage

var inspect = require('eyespect').inspector();
var cheerio = require('cheerio')
var atBillsTablePage = require('hess-at-bills-table-page')
var html = 'foo' // html from requesting the bills table page
var $ = cheerio.load(html)
var atPage = atBillsTablePage($)
inspect(atPage, 'at bills table page?')

Test

# install development dependencies
npm install
# run tests
npm test
npm loves you