new parseCSV(target, config) → {Operation}
CSV-Parse for CSV conversion to JSON
Parameters:
Name | Type | Description |
---|---|---|
target |
String | string or local file with CSV data |
config |
Object | csv-parse config object |
- Source:
Returns:
- Type
- Operation
Example
parseCSV("/home/user/someData.csv", {
quoteChar: '"',
header: false,
});