1.1.0 • Published 4 years ago

csv-to-markdown v1.1.0

Weekly downloads
-
License
BSD-2-Clause
Repository
github
Last release
4 years ago

csv-to-markdown

cli tools to convert csv and tsc data into markdown table

npm Package Version

Glossary

csv: Comma-separated values

tsv: Tab-separated values

markdown: the markup language used in README.md on github, gitlab, bitbucket, e.t.c.

cli tools

  • csv-to-markdown
  • tsv-to-markdown
  • csv-to-tsv
  • tsv-to-csv
  • markdown-to-csv
  • markdown-to-tsv

Installation

> npm i -g csv-to-markdown

Usage Example

# read from file, show to console
csv-to-markdown example/data.csv

# read from pipe, write to pipe
cat example/data.csv | csv-to-markdown | xclip -sel clipboard

# read from file, save to file
tsv-to-markdown < data.tsv > example/output.md

License

This is free and open-source software (FOSS) with BSD-2-Clause License