JavaScript CSV parser

Use:



    // simple
    var rows = CSV.parse( csv_text );

    // w/ jQuery
    $.ajax("csv.txt")
        .pipe( CSV.parse )
        .done( function(rows) {
            //... do something
        });

Example:

Input (link):



Output as HTML Table:

Output as JSON:

About

Author: gkindel
License: MIT
Further Reading: