Skip to content

jkrmarmol/csv-merger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js CSV Merger

This Node.js project merges multiple CSV files from a specified folder into a single CSV file. The CSV files should have the same column names to be merged correctly.

Prerequisites

  • Node.js installed on your machine
  • npm (Node Package Manager)

Installation

  1. Clone the repository or download the source code.
  2. Navigate to the project directory.
  3. Install the dependencies using npm:
npm install

Usage

  1. Place the CSV files you want to merge into the files folder.
  2. Run the script to merge the CSV files:
node merge-csv.js

Project Structure

nodejs-csv/
├── files/            # Folder containing the CSV files to be merged
├── combined.csv      # Output file for the merged CSV
├── merge-csv.js      # Script to merge CSV files
├── package.json      # Project configuration and dependencies
└── README.md         # Project documentation
``

Dependencies

  • csv-parser: A streaming CSV parser for Node.js.
  • fast-csv: A library to parse and format CSVs.
  • fs: Node.js file system module.

License

This project is licensed under the ISC License.

Author

Kurt Russelle Marmol

About

Node.js project merges multiple CSV files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published