导入导出nodejs-API文档 导入let a = require('文件名'); 导出let a = 10;exports.a = a; 完整写法 let b = 20;module.exports.b = b;