jsonconverter
A Nodejs module that converts csv to json.
Installation:
$ npm i jsonconverter
API
.csvToJson(csvData, option, callback( err, data ){ }) option parameter:
- fromFile: set true if you are passing data through file.
- toFile: : set true if you want output in the form of file.
Examples
Conversion of raw csv to raw json as output.
var jsonc = ; jsonc
Conversion of csv file data to raw json as output.
jsonc
Conversion of csv file data to json file as output.
jsonc
License
MIT