cli version of csvjson
npm install csvjson-cli
CLI version of csvjson.
Pass in csv file as first parameter and the command will print the json file to stdout.
eg.
csvjson mydata.csv > mydata.json
See csvjson for formatting options.