0.1.1 • Published 6 years ago
condat v0.1.1
condat
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!
Usage
condat --source 'example-csv.csv' --destination 'ndjson-result.ndjson'
OR
condat -S 'example-csv.csv' -D 'ndjson-result.ndjson'
Options
-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.
Install
With npm installed, run
$ npm install -g condat
With yarn installed, run
$ yarn global add condat
Acknowledgments
condat is built using the following libraries:
See Also
License
MIT