@mehwish_razzak/object_oriented_programming
v1.0.1
Published
This is CLI based Object Oriented Programming.
Downloads
1
Readme
Object-Oriented Programming Project
This project is a Node.js application that demonstrates the use of Object-Oriented Programming (OOP) concepts. It provides a simple CLI interface for interacting with students and staff members.
Features
- Object-Oriented Programming using TypeScript.
- Interactive CLI using Inquirer.
- Colorful console output using Chalk.
Installation
The command for installing my package using npm is:
npm i @mehwish_razzak/object_oriented_programming
Usage
To run the project, use the following command in your terminal:
npx @mehwish_razzak/object_oriented_programming
Code Overview
Classes:
- Student: Represents a student with a name.
- Person: Manages a list of students.
Functionality:
- Add new students to the list.
- Greet existing students.
- Interact with staff members.
Dependencies
- Inquirer: For creating interactive CLI prompts.
- Chalk: For styling terminal strings.
License
This project is licensed under the MIT License.