CSV parser and writer
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
src/thx/csv
test
.gitignore
.travis.yml
LICENSE
README.md
build.hxml
extraParams.hxml
haxelib.json
hmm.json
submit.sh
tests.hxml

README.md

thx.csv

![Gitter](https://badges.gitter.im/Join Chat.svg)

Build Status

CSV decoder (parser) and encoder (writer)

usage

var s = 'Year,Make,Model,Description,Price
1997,Ford,E350,"ac, abs, moon",3000.00
1999,Chevy,"Venture ""Extended Edition""","",4900.00
1999,Chevy,"Venture ""Extended Edition, Very Large""",,5000.00
1996,Jeep,Grand Cherokee,"MUST SELL!
air, moon roof, loaded",4799.00';

var decoded = Csv.decode(s),
    encoded = Csv.encode(decoded);
trace(decoded); // Array<Array<String>>
trace(encoded);

live sample

install

haxelib install thx.csv