Buffer is no defined error
jbwl opened this issue · 3 comments
jbwl commented
When using this in the browser via VueJS, trying to build an xlsx throws "Buffer is not defined" at this line
index.js:79
return excelData instanceof Buffer ? excelData : (0, _bufferFrom.default)(excelData, 'binary');
I added node-xlsx via yarn add. I also tried to add explicitely the buffer-from package, but that didn't solve the problem.
balczer-dominik commented
Try this
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
mgcrea commented
This is a pure nodejs package, just use sheetjs directly for browser usage.