csv-light
v1.0.1
Published
Light parser from CSV to JSON. 🌪️
Downloads
2
Readme
csv-light
Light parser from CSV to JSON. 🌪️
Install
$ npm i csv-light -S
Tests
$ npm test
Usage
const parse = require('csv-light');
const json = parse('"name","age","hasGirlfriend"\n"Mikhail Semin",16,true');
// [
// {
// name: 'Mikhail Semin',
// age: 16,
// hasGirlfriend: true,
// },
// ]