#excel #xlsx

bin+lib csv2xlsx

Convert CSV files to Excel (in XLSX format)

4 releases (2 breaking)

0.3.0 Jul 12, 2022
0.2.0 Jul 7, 2022
0.1.1 May 23, 2022
0.1.0 May 23, 2022

#27 in #xlsx

36 downloads per month

MIT license

12KB
279 lines

csv2xlsx

Convert CSV files to Excel (in XLSX format). Written in Rust for performance and safety.

Its main intended usage is through the provided CLI, but programmatic access should also work (which outputs in-memory Excel-data).

CLI usage

Simple convert with explicit filenames provided

csv2xlsx -i ~/example.csv -o ~/example.xlsx

With column widths adjusted to their contents

cat ~/example.csv | csv2xlsx --width-adjustment > ~/example.xlsx

CLI help for more info

csv2xlsx --help

Dependencies

~5MB
~82K SLoC