Skip to content

CLI tool for converting .csv files to .ndjson files.

Notifications You must be signed in to change notification settings

jakierice/condat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

CLI tool for converting .csv files to .ndjson files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published