html2csv

1.1.0 • Public • Published

html2csv

Convert every table in an HTML to a CSV file.

Usage

{ htmlToCSVs } = require ('html2csv');
 
htmlToCSVs(html, function(err, csvs) {
  console.log(csvs);
});

Command Line Tool

Install html2csv globally.

npm install html2csv -g

Run the conversion with an HTML file as an argument. The csv files will be created in the current directory.

html2csv input.html

License

MIT

/html2csv/

    Package Sidebar

    Install

    npm i html2csv

    Weekly Downloads

    2

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • zdne