A powerful command-line tool for working with CSV files, providing comprehensive data manipulation and visualization capabilities.
- π CSV file parsing and manipulation
 - π CRUD operations on CSV data
 - π Data visualization with ASCII charts
 - πΎ Data persistence and file management
 - π In-memory data sorting
 - π― Interactive command-line interface
 - β Unit testing support
 
- Clone the repository:
 
git clone https://github.com/serge-mugisha/NodeJS-CSV-Toolkit.git
- Navigate to the project directory:
 
cd NodeJS-CSV-Toolkit- Install dependencies:
 
npm install
Start the application:
npm start
The interactive menu system will guide you through the following operations:
- Load CSV data from file
 - View records (single or multiple)
 - Create new records
 - Update existing records
 - Delete records
 - Sort data based on specific columns
 - Generate visualizations
 - Save data to new CSV file
 
Run the test suite:
npm testGenerate JSDoc documentation:
npm run doc
csv-parse: CSV parsingcsv-stringify: CSV generationasciichart&ervy: Terminal-based data visualizationprompt: Interactive CLI interfacenodemon: Development serverjasmine: Testing frameworkjsdoc: Documentation generation
NodeJS-CSV-Toolkit/
βββ src/
β βββ controllers/ # Business logic
β βββ models/ # Data models
β βββ views/ # User interface
β βββ app.js # Application entry point
βββ spec/ # Test files
βββ out/ # Generated documentation
βββ package.json # Project configuration
- Fork the repository
 - Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
 
This project is licensed under the ISC License - see the LICENSE file for details.
Serge Mugisha
Please report any issues or bugs on the GitHub issues page.