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 test
Generate 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.