@proscom/csv-to-xlsx
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

csv-to-xlsx

CLI tool to convert csv files to xlsx.

It uses csv-parse and xlsx under the hood.

Usage:

$ csv-to-xlsx \
    -i File.csv \
    -o File.xlsx \
    -d "," \
    -e "\"
$ csv-to-xlsx --help
Options:
  --help           Show help                                           [boolean]
  --version        Show version number                                 [boolean]
  --input, -i      Input file                                [string] [required]
  --output, -o     Output file                               [string] [required]
  --delimiter, -d  CSV delimiter character               [string] [default: ","]
  --quote, -q      CSV quote character                   [string] [default: """]
  --escape, -e     CSV escape character                  [string] [default: "\"]
  --trim, -t       Trim whitespaces around delimiter  [boolean] [default: false]
  --sheet, -s      XLSX sheet name                  [string] [default: "import"]

Readme

Keywords

Package Sidebar

Install

npm i @proscom/csv-to-xlsx

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

16.3 kB

Total Files

7

Last publish

Collaborators

  • alexeyshilyaev
  • mayorandrew
  • sviryukov
  • a.derbenev