A module which reads and converts simple CSV files to JSON.
npm install csvinarray
csvinarray with npm
bash
$ npm install csvinarray
`
Usage/Examples
`javascript
const convert = require('csvinarray');
let jsonData = csvinarray(__dirname + "/sample/example-csv.csv");
// Data in json from the csv file.
`
Simple syntax for converting your file
It is just one line in order to convert your CSV file to JSON.
$3
There is just one function, Which can be used as this.
`javaScript
let jsonData = csvinarray(__dirname + "/sample/example-csv.csv");
// ^ very important | pwd + Path
// *pwd = present working directory
`
Running Tests
To run tests, run the following command
`bash
$ npm run test
``