Project: lb_csv2json
Node.js·1 min read·Apr 18, 2025

The comma-separated values (CSV) format is a text file format used to represent tabular data where columns (or fields) are separated by commas , and rows (or records) are separated by newlines \n. The first row usually holds the field names, also called headers, and the following rows hold the record values.
The objective of this project is to write a Node.js script that converts a CSV file to a JSON file using a Transform stream.
General instructions
Here are the general instructions to complete this project:
-
The script must be named
lb_csv2json.js. -
The script must be written in Node.js.
-
The script must have the following synopsis:
$ node lb_csv2json.js source [destination]Where:
Unlock the program 🚀
Pay once, own it forever.
€79
30-day money-back guarantee
- 13 modules
- 113 lessons with full-code examples
- 29 projects with commented solutions
- All future lesson and project updates
- Lifetime access
By submitting this form, you agree to the Terms & Conditions and Privacy Policy.