Is xlsx to csv conversion possible ?
See original GitHub issueFound this piece of code in the docs, but it doesn’t seem to work. I have an input which is an s3 url of xlsx file input https://modulus.s3-****/Content.xlsx
var output_file_name = "out.csv";
var stream = XLSX.stream.to_csv(worksheet);
stream.pipe(fs.createWriteStream(output_file_name));
Is this the right way to do when input is an url also if its so how to generate worksheet from xlsx file
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Excel to CSV - Convert your XLSX to CSV for Free Online
Do you want to convert a XLSX file to a CSV file ? Don't download software - use Zamzar to convert it for...
Read more >Using Microsoft Excel to convert .xls, .xlsx file into a .csv ...
Using Microsoft Excel to convert .xls, .xlsx file into a .csv format · 1. Open your excel file. · 2. Click on File...
Read more >XLSX to CSV Converter
XLSX to CSV Converter. CloudConvert is an online document and spreadsheet converter. Amongst many others, we support PDF, XLSX, XLS, CSV, ODS.
Read more >Convert Excel to CSV (comma delimited) and UTF-8
The use of Google Spreadsheets for .xlsx to .csv conversions seems a very simple workaround: In Google Spreadsheet, click File > Import. Import ......
Read more >Save an Excel spreadsheet as a CSV file
Convert an Excel spreadsheet into a Comma Separated Value file to import large lists or reduce the chance of import errors when uploading ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
XLSX.utils.sheet_to_csv(ws)
is a string, you can just send that in the response.Assuming you are running in a newer version of NodeJS, use
fetch
to download the data and loop through the worksheets:If the file is not public, the AWS demo in the docs has an example using the official aws-sdk module to fetch an object, parse, and log the first worksheet