Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 718 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 718 Bytes

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 [email protected]: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.