My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How can I read multiple CSV at once and accept similar result on every line ?

Williams Isaac's photo
Williams Isaac
·Sep 11, 2018

I am trying to choose similar result on similar CSV and then choose the value that appears the most.

Example User 1 Uploads CSV1

NameID
will2
joseph3
john6

User 2 Uploads CSV2

NameID
will2
joseph5
john6

User 3 Uploads CSV3

NameID
will2
joseph5
john7

Final Result of this merging will be

NameID
will2
joseph5
john6

Any Idea how I can achieve this in NodeJS ?