Skip to content

a7mad1112/Nodejs-FTS-Task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Nodejs-FTS-Task

This is a simple Node.js file that allows you to read data from a CSV file, convert it to JSON format, and save it to a new file.

Prerequisites

Before running this code, you should have the following installed:

Usage

  1. Place the main.js file in the same folder as the users.csv file.
  2. Open a terminal and navigate to the folder where the main.js file is located.
  3. Run node main.js to execute the code.
  4. The code will read the users.csv file, convert the data to JSON format, and save it to a new file called users.json.

Functions

The following functions are included in the code:

  • readCSV: Reads the data from the users.csv file and converts it to JSON format.
  • saveToFile: Saves the JSON data to a new file called users.json.
  • readJsonFile: Reads the content of the users.json file and prints it to the console.

Author

Contributor

  • Name: Faris Abuali

Acknowledgements

I would like to express my sincere gratitude to Foothill Technology Solutions for giving me the chance to be part of this internship cycle. I am thankful for their unwavering support and guidance during the development of this project.

foothil

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published