BinweiRu / CsvToTable

Parse the CSV file using pure javascript and convert to HTML tabel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CsvToTable

Parse the local CSV file using pure javascript and convert to HTML table

Check out the working demo: http://yasharma.github.io/CsvToTable/

Usage

1. Clone this repository (in the command line)

git clone git@github.com:yasharma/CsvToTable.git
cd CsvToTable

2. Add your CSV file to current folder

3. In index.html configure the CsvToTable() constructor function

<script>
	var csvtotable = new CsvToTable({
		csvFile: 'your csv filename/filepath' 
	});
	csvtotable.run();
</script>

Available options:

  • csvFile Path to your CSV file.

License

This project is licensed under the GNU General Public License.

About

Parse the CSV file using pure javascript and convert to HTML tabel


Languages

Language:JavaScript 83.5%Language:HTML 16.5%