在 Node.js 中调用电脑上的软件来读取文件,你可以使用 child_process 模块的 exec 方法。 首先,你需要安装 child_process 模块: npminstall child_process