A CLI tool for converting .csv files to .ndjson files.
This tool was created for the simple use case of converting .csv files to .ndjson files for the purpose of importing data to a sanity.io backend CMS (Content Management System). We hope to expand this tool in the future to be able to convert more types of files. Enjoy!
condat --source 'example-csv.csv' --destination 'ndjson-result.ndjson'
OR
condat -S 'example-csv.csv' -D 'ndjson-result.ndjson'
-V, --version output the version number
-S, --source [source] Path to file that will be converted
-D, --destination [destination] Path to file where converted data will be written
-h, --help output usage information
See api_formatting.md for tips.
With npm installed, run
$ npm install -g condat
With yarn installed, run
$ yarn global add condat
condat is built using the following libraries:
MIT