House.gov Page Scraper
Scrapes the representative finder on House.gov.
Requirements
Requires NodeJS version 4.3.2 or greater.
Installation
$ npm install house-gov-page-scraper --save
Usage
Returns a promises, using Request-Promise-Native for http GET requests.
var scraper = ; scraper ;
Note: If a zip code is 4 digits, input as a 5 character string:
scraper ;
Tests
$ npm test
Contributing
Code is transpiled from ES6/ES2015. You can lint code by running:
$ npm run lint