module
对当前模块的引用,请参阅有关 module
对象 的部分。特别是,module.exports
用于定义模块通过 require()
导出和提供的内容。
¥A reference to the current module, see the section about the
module
object. In particular, module.exports
is used for defining what
a module exports and makes available through require()
.