https://github.com/open-node/parsecsv
https://github.com/open-node/parsecsv
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/open-node/parsecsv
- Owner: open-node
- Created: 2015-11-19T04:21:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-24T12:34:44.000Z (over 9 years ago)
- Last Synced: 2025-01-21T19:18:58.328Z (5 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Parse standard csv or like csv format
## example
```sh
npm install parsecsv --save
``````js
var csv = require('parsecsv')();var row = csv(line);
// when line is 'hello,world'
// row is ['hello', 'world']
```## options
```js
csv = require('parsecsv')({
separator: ',' // separator char default ','
escape: '"', // escape char, default '"'
columns: 0, // if check column length
});
```## license: MIT
## Author: Redstone Zhao