Node.js Quickies – Loading a CSV File

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.