1.0.7 • Published 11 months ago
excel2array-plus v1.0.7
excel2array-plus
The script allows you to convert the data copied from the table to an array
Install
npm i excel2array-plus --save
Usage
name | age | gendar |
---|---|---|
Alice | 18 | female |
Ben | 12 | male |
simon | 21 | male |
import excel2array from "excel2array-plus";
// copy the data from your excel worksheet directly
let text = `Alice 18 female
Ben 12 male
simon 21 male`;
console.log(excel2array(text));