How to load and analyze large csv files in nodejs / express?

I have a nodejs / express application that should receive cvs files, parse them and save the parsed values โ€‹โ€‹in the mongodb database.

How do I make a download route for these files in express? Should I use streams?

+4
source share
1 answer

fast-csv and csv-stream both provide you with a stream into which you can transfer data and receive records as they are analyzed.

+3
source

Source: https://habr.com/ru/post/1540550/


All Articles