catamphetamine / read-excel-file

Read *.xlsx files in a browser or Node.js. Parse to JSON with a strict schema.

Home Page:https://catamphetamine.gitlab.io/read-excel-file/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: fs.createReadStream is not a function

amkamn opened this issue · comments

commented

// Readable Stream.

const fs = require('fs');
readXlsxFile(fs.createReadStream('/my_excel_file')).then((rows) => {
  ...
})

Error message
TypeError: fs.createReadStream is not a function

fs is on server side only

commented

how read excel file ? From client side ?
Thanks

Use brain.
No prob.

commented

U welcome

Yeah fuck you