thx.csv 0.2.0

CSV parsing and writing libraries. Also supports DSV and TSV.

Released 2016-05-05.

To install, run:

haxelib install thx.csv 0.2.0

See using Haxelib in Haxelib documentation for more information.

Maintainerfponticelli
Websitehttps://github.com/fponticelli/thx.csv
Current version0.2.0
StatisticsInstalled 98 times
LicenseMIT
Tags cross, csv, data, dsv, general, std, thx, tsv

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