node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

tdf

tdf

npm version Build Status

Transform data format cli.

usage

$ npm install -g tdf
$ echo -e "aaa,bbb\n111,222" > sample.csv
$ tdf sample.csv
[{"aaa":"111","bbb":"222"}]
$
$ echo '[{"aaa":"111","bbb":"222"}]' > sample.json
$ tdf sample.json
aaa,bbb
111,222

requirements

nodejs@4.0.0 ~