excel-to-converter
v1.0.0
Published
A Node.js package for converting Excel files to CSV files.
Downloads
2
Readme
Excel to CSV Converter
A Node.js package for converting Excel files to CSV files.
Installation
Install the package using npm:
npm excel-to-converter
or
npm i excel-to-converter
Function
excelToCsv(srcFilePath, newFileName)
Converts an Excel file to a CSV file.
Parameters
srcFilePath
(string): The file path of the Excel sheet to convert.newFileName
(string): The filename of the newly created CSV file.
Example:-
const excelToCsv = require('excel-to-converter');
// Convert 'example.xlsx' to 'example.csv'
excelToCsv('example.xlsx', 'example.csv');