4

I have nodejs/express application that should receive cvs files parse them and store parsed values into mongodb database.

How should I make upload route for that files in express? Should I use streams?

Erik
  • 14,060
  • 49
  • 132
  • 218

1 Answers1

3

fast-csv and csv-stream both provide you with a stream that you can pipe data into and get records as they are parsed.

mscdex
  • 104,356
  • 15
  • 192
  • 153