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

1.0.2 • Public • Published

XLSX-to-CSV Converter written in Rust

The ultra-fast XLSX to CSV converter package, built leveraging the power of the Rust package - Calamine. It outperforms SheetJs, delivering at least 3 times the speed and using only one-fifth of the memory, making it ideal for processing large XLSX files.

Installation

This package is available via NPM. To install, simply run the following command:

npm install xlsx-to-csv

Usage

The package accepts both .xlsx and .csv file types. Here's a quick example illustrating the usage:

import fs from 'fs'
import { convertFile } from 'xlsx-to-csv'

// Convert your file
const { filePath } = convertFile('./file.xlsx')

// Output the path of the converted file
console.log(filePath)

// Read the converted file
const csvData = fs.readFileSync(filePath).toString()

// Display the data
console.log(csvData)

License

This project is licensed under the MIT License, providing a high degree of freedom for both personal and commercial use. For more details, please refer to the LICENSE file in the repository.

Readme

Keywords

Package Sidebar

Install

npm i xlsx-to-csv

Weekly Downloads

88

Version

1.0.2

License

MIT

Unpacked Size

7.86 kB

Total Files

15

Last publish

Collaborators

  • ianberdin