Node.js Programming Tutorials

Node.js Quickies – Loading a CSV File

In this short tutorial I’m gonna show you how to load a CSV file using Node.js.

Firstly, you need to include the ya-csv package in your package.json file, under “dependencies”. Make sure you run “npm install” to download all your project’s dependencies.

 

This is how you can load a csv file:

You can learn more about this package by checking out it’s Github repo.

 

Share this article

2
Leave a Reply

avatar
1 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
Pablo FaríasMajid Lotfi Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Majid Lotfi
Guest
Majid Lotfi

Hi, thanks for this tutorial, can you please show me how to run it ?
thanks.