sheet-to-array-browser
v1.0.1
Published
converts sheet data to javascript array
Downloads
26
Maintainers
Readme
Sheet/Excel to Array for Javascript/browsers
csv-to-array-browser
module works for browsers. You can use it in any of your frontend projects.
How to Install
npm i sheet-to-array-browser
Example Usage
// import the package into your project
import SheetToArray from 'sheet-to-array-browser';
// get the csv file
const file = event.target.files[0]
// convert the sheet/excel file into JavaScript array
const convertedData = await SheetToArray(file)