@aternus/csv-to-xlsx
Convert CSV files to XLSX (Excel 2007+ XML Format) files via Node.js CLI or API.
Last updated a month ago by kirilreznik .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @aternus/csv-to-xlsx 
SYNC missed versions from official npm registry.

@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

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 bin folder.

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

Node.js CLI

Type --help for a full list of options.

npx csv-to-xlsx -i "input-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.

Current Tags

  • 1.0.14                                ...           latest (a month ago)

15 Versions

  • 1.0.14                                ...           a month ago
  • 1.0.13                                ...           a month ago
  • 1.0.12                                ...           5 months ago
  • 1.0.11                                ...           7 months ago
  • 1.0.10                                ...           10 months ago
  • 1.0.9                                ...           a year ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 17
Last Day 0
Last Week 15
Last Month 33
Dependencies (4)
Dev Dependencies (15)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |