Parse CSV Data
Through this library it is possible to convert CSV structure data to JSON.
const { csv } = require('linkapi-sdk/parser');
const data = "Make,Model,Year,Specifications.Mileage,Specifications.Trim\nNissan,Murano,2013,7106,S AWD\nBMW,X5,2014,3287,M";
const json = await csv.toJSON(data);
Updated over 4 years ago