A minimum-dependency ECMAScript client library and CLI tool for Parler – a "free speech" social network that accepts real money to buy "influence" points to boost organic non-advertising content
Other
68
stars
9
forks
source link
Support CSV-formatted output via -f using dotted column names #47
We've discussed this a bit, and it seems the consensus is that we should use an existing json2csv module to handle JSON to CSV conversion prior to output. This would also provide us some user-accessible mechanisms (i.e. options and/or configuration files) to alter the CSV output (i.e. by pushing options down to the JSON/CSV converter).
We've identified a suitable library on NPM with minimal dependencies and excellent test coverage.
We've discussed this a bit, and it seems the consensus is that we should use an existing
json2csv
module to handle JSON to CSV conversion prior to output. This would also provide us some user-accessible mechanisms (i.e. options and/or configuration files) to alter the CSV output (i.e. by pushing options down to the JSON/CSV converter).We've identified a suitable library on NPM with minimal dependencies and excellent test coverage.