2021-03-30 09:16:11 +07:00
|
|
|
// import excel2json module
|
|
|
|
const excel2json = require("./excel2json");
|
|
|
|
|
|
|
|
// called function export excel2json
|
2021-03-30 11:47:54 +07:00
|
|
|
const exported = excel2json({
|
|
|
|
inputFile: "./data/people.xlsx"
|
|
|
|
});
|
2021-03-30 09:16:11 +07:00
|
|
|
|
|
|
|
// output data from exported
|
|
|
|
console.log("Output =>\n", exported);
|