node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

ib-csv2json

Install

npm-install ib-csv2json --global

Usage

Parse a csv file (default delimiter: ";") to a json file.

ib-csv2json file.csv
ib-csv2json file.csv --fields "id|num,username,email" --delimiter ";"

Alternative usage with babel

babel-node parse.js ../data/MEMBER_ACCESS_2014-01-01--2015-06-16.csv --fields "MEMBER_ACCESS_ID|num" --delimiter ";"