【发布时间】:2018-12-27 06:06:32
【问题描述】:
在 nodejs 中,我想将多个文件复制到一个文件中,并想将一个文件附加到另一个文件中,函数名称是什么?
this.fs.copy(
this.templatePath('testing.json' + 'testing2.json'),
this.destinationPath('public/index.html')
)
这样,我想从多个位置复制到单个文件
this.fs.appendFile('public/index.html', 'hdjkfhsdjkfh');
【问题讨论】:
标签: javascript node.js filesystems yeoman