Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erdii/csv2jsonstream
the cheapest streaming csv to json-array cli converter EVER - but it's fast!
https://github.com/erdii/csv2jsonstream
array converter csv header json stream
Last synced: about 1 month ago
JSON representation
the cheapest streaming csv to json-array cli converter EVER - but it's fast!
- Host: GitHub
- URL: https://github.com/erdii/csv2jsonstream
- Owner: erdii
- License: mit
- Created: 2018-07-06T06:49:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-27T11:15:11.000Z (about 4 years ago)
- Last Synced: 2024-10-10T21:06:32.441Z (about 1 month ago)
- Topics: array, converter, csv, header, json, stream
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# csv2jsonstream
the cheapest csv to json-array converter EVER!
* uses [papaparse](https://www.papaparse.com/)
* assumes csv header rows
* outputs rows in a streaming manner### installation
`npm i -g @erdii/csv2jsonstream`
### usage
* Read csv from file: `csv2jsonstream input.csv > output.json`
* Read csv from stdin: `cat input.csv | csv2jsonstream > output.json`