Dear, I need to process an xlsx file and parsed it to json and my idea is to do it in the view with angle 4, I found a library in node which does the process (node-xlsx-json) but I do not know if I could call it from angular or able to do something since the library reads the file locally and processes it.
var xlsx_json = require('../')
xlsx_json({
input: __dirname + '/interview.xlsx',
output: __dirname + '/test.json'
}, function(err, result) {
if(err) {
console.error(err);
}else {
console.log(result);
}
});
Or some way to do it.
Thank you.