2.1.5 • Published 1 month ago

@aternus/csv-to-xlsx v2.1.5

Weekly downloads
968
License
MIT
Repository
github
Last release
1 month ago

@aternus/csv-to-xlsx

Convert CSV files to XLSX (Excel 2007+ XML Format) files.

Written in JavaScript. Available for Node.js CLI and API.

Binaries are available for:

  • Windows x64
  • Linux x64
  • MacOS x64

validate

Install with confidence 🛡️

Features

  • Binaries - download and run via your OS's command-line utility
  • Fast and Reliable
  • Full UTF-8 support
  • CSV Column detection
  • Batch mode - convert a CSV folder to an XLSX folder
  • Node.js CLI and API

Installation

npm install @aternus/csv-to-xlsx

Usage

Binaries

Download the executables from the latest release.

./csv-to-xlsx-linux -i "input-file-or-directory" -o "output-directory"

Node.js CLI

Type --help for a full list of options.

npx @aternus/csv-to-xlsx -i "input-file-or-directory" -o "output-directory"

Node.js API

const path = require('path');
const {convertCsvToXlsx} = require('@aternus/csv-to-xlsx');

let source = path.join(__dirname, 'report.csv');
let destination = path.join(__dirname, 'converted_report.xlsx');

try {
  convertCsvToXlsx(source, destination);
} catch (e) {
  console.error(e.toString());
}

License

Released under the MIT License - see LICENSE.md for details.

2.1.4

1 month ago

2.1.5

1 month ago

2.1.3

1 month ago

2.1.2

10 months ago

2.1.1

10 months ago

2.0.5

10 months ago

2.0.6

10 months ago

2.1.0

10 months ago

2.0.4

1 year ago

1.1.1

2 years ago

1.1.0

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago