csv-to-markdown

1.1.0 • Public • Published

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

  • [x] csv-to-markdown
  • [x] tsv-to-markdown
  • [x] csv-to-tsv
  • [x] 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

Package Sidebar

Install

npm i csv-to-markdown

Weekly Downloads

6

Version

1.1.0

License

BSD-2-Clause

Unpacked Size

5.49 kB

Total Files

7

Last publish

Collaborators

  • beenotung