Skip to content

Commit

Permalink
npm renames bin apparently, lean into it
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Donat <[email protected]>
  • Loading branch information
donatj committed Dec 1, 2023
1 parent 4aa34e1 commit 675e5bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ npm install -g csv-to-markdown-table
Then you can use it like so:

```bash
$ csvtomarkdown --help
Usage: csvtomarkdown [options]
$ csv-to-markdown-table --help
Usage: csv-to-markdown-table [options]
// … help output

$ csvtomarkdown --delimiter ',' --headers < example.csv
$ csv-to-markdown-table --delimiter ',' --headers < example.csv
| cats | dogs | fish |
|------|------|------|
| 1 | 2 | 3 |
| 4 | 5 | 6 |
$ csvtomarkdown
$ csv-to-markdown-table
Reading from stdin... (press Ctrl+D at the start of a line to finish)
CSV Delimiter: \t (tab) Headers: false
[interactive input]
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "csv-to-markdown-table",
"description": "JavaScript/Node.js Csv to Markdown Table Converter",
"main": "./lib/CsvToMarkdown.js",
"bin": "./bin/csvtomarkdown",
"bin": "./bin/csv-to-markdown-table",
"version": "1.4.1",
"types": "./lib/CsvToMarkdown.d.js",
"scripts": {
Expand Down

0 comments on commit 675e5bc

Please sign in to comment.