有没有办法在nodejs中阅读excel文件 [英] Is there any way to read excel file in nodejs

查看:252
本文介绍了有没有办法在nodejs中阅读excel文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在nodej中有没有任何模块可以帮助我们轻松地在数组中轻松读取excel文件我已经看到模块excel有没有其他可以使用的模块,除了模块excel?

Are there any modules in nodejs that helps us easy to read excel file easily in arrays i have seen module excel are there any other modules we can use except module excel?

推荐答案

我认为使用可以使用: https:// github。 com / trevordixon / excel.js

I think use can use this: https://github.com/trevordixon/excel.js

var parseXlsx = require('excel');

parseXlsx('Spreadsheet.xlsx', function(err, data) {
  if(err) throw err;
    // data is an array of arrays
});

这篇关于有没有办法在nodejs中阅读excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆