「node.js入門」pipe() の使い方
サンプルコード
const org = fs.createReadStream('org.csv', 'utf8');
const target = fs.createWriteStream('target.csv', 'utf8');
org.pipe(target);
Coding Changes the World
サンプルコード
const org = fs.createReadStream('org.csv', 'utf8');
const target = fs.createWriteStream('target.csv', 'utf8');
org.pipe(target);