Lightweight CSV To Table Converter – CsvToTable.js

Category: Javascript , Table | June 11, 2016
Author: yasharma
Views Total: 1,190
Official Page: Go to website
Last Update: June 11, 2016
License: MIT

Preview:

Lightweight CSV To Table Converter – CsvToTable.js

Description:

CsvToTable.js is a very small JavaScript library which has the ability to render an html table from your local CSV file.

How to use it:

Link to the JavaScript file CsvToTable.js as follow:

<script src="CsvToTable.js"></script>

Create a new CsvToTable object and specify the path to the CSV file you want to parse.

var csvtotable = new CsvToTable({
    csvFile: 'data.csv'
});

Render an HTML table in the document.

csvtotable.run();