1、模块引用 const http = require('http') 2、模块暴露 module.exports = { } //一个文件只能有一个 exports = { } // exports 相当于 module.exports的引用