DEV Community

loading...

Discussion on: Parsing CSV Files in Node.js with fs.createReadStream() and csv-parser

Collapse
isalevine profile image
Isa Levine Author

Hi Lejepra! I didn't actually use async / await in my own example code, so I'm basically guessing here.

I'd try moving the async to before the fs.createReadStream call, and seeing if that forces the await call to let the CSV-parsing finish.

Let me know if you're still working on this, and what you find out! :)