html-table-stream

0.5.4 • Public • Published

html-table-stream

Read and write HTML tables as data in Node.

Install it with npm:

npm install html-table-stream

Now you can parse some HTML tables, for example, US state FIPS codes:

var table = require('html-table-stream');
var request = require('request');
var ndjson = require('ndjson');
 
request('http://www.epa.gov/envirofw/html/codes/state.html')
  .pipe(table.parse())
  .pipe(ndjson.stringify())
  .pipe(process.stdout);

Readme

Keywords

none

Package Sidebar

Install

npm i html-table-stream

Weekly Downloads

5

Version

0.5.4

License

CC0

Last publish

Collaborators

  • shawnbot