A simple command-line To-Do List application built using Node.js. The app allows users to add, view, and remove tasks through the terminal.
- Add new tasks to your To-Do List.
- View all current tasks.
- Remove tasks by their number.
- Simple, easy-to-use command-line interface.
- Colored output for better readability using
chalk
.
- Node.js (v12 or later)
-
Clone this repository or download the code.
-
Open a terminal and navigate to the project directory.
-
Run the following command to install necessary dependencies:
npm install
-
After installing the dependencies, run the app with the following command:
npm start
-
You'll be presented with options to:
- Add: Add a new task.
- View: View your current tasks.
- Remove: Remove a task by its number.
- Exit: Quit the application.
-
Follow the on-screen prompts to interact with the app.
Choose an action (add/view/remove/exit): add
Enter a task to add: Complete the project
Added: "Complete the project"
To-Do List:
1: Complete the project
This project uses the chalk
library to add colors to the terminal output for better readability.
- Green: For successful actions like adding a task.
- Red: For removing tasks or showing errors.
- Blue/Cyan: For highlighting task numbers and other important information.
- Persistent storage of tasks (saving tasks to a file).
- Mark tasks as completed.
- Edit tasks.
This project is licensed under the MIT License.