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?

2
  • This answer should help you: stackoverflow.com/a/18370751/171456 Commented May 14, 2014 at 16:51
  • Thanks for the reply but how can I parse every chunk? Commented May 14, 2014 at 17:20

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

how to upload from browser ? base 64 or any other method

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.