Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Jackie Jen
Jackie Jen
2,723 Points

Is there any npm package on compare two csv file?

Hi,

I have A.csv file with column (id, name, company, location) and B.csv with only one column (company).

I want to based on the value in B.csv column company to filter out and remove the netire row in the A.csv file if it is match the company value in B.csv file.

1 Answer

Angelica Hart Lindh
Angelica Hart Lindh
19,465 Points

Hi Jackie,

There is a package from NPM called 'csv' that you can find at this link: https://www.npmjs.com/package/csv

Good luck!