0
如何通过另一个模块导出一个模块的所有功能。像下面的伪代码:将所有功能从一个模块转移到另一个模块 - node.js
模块one.js
exports.func1 = ...
exports.func2 = ...
exports.func2 = ...
模块two.js
one = require 'one.js'
exports = exportallfrom(one)
模块three.js所
two = require 'two.js'
two.func1()
two.func2()
two.func3()
'出口= one'? – soulcheck