Created
April 5, 2021 10:49
-
-
Save YuukiToriyama/9221ada130821715f45d1d9639cf641f to your computer and use it in GitHub Desktop.
fs.createReadStream & csv.parse
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const stream = fs.createReadStream("data/hokkaido.csv").pipe(csv.parse()); | |
stream.on("data", data => { | |
console.log(data); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment