首页 Node.js核心模块手册

参数说明


pipe(stream, options)
stream        指定文件流对象
options{      可选,对象
  end:true        true默认,数据读取完毕后写入文件   fals读取完后不写入
}       

示例