User avatar

CLI calculator make with typescript,node.js,inquirer

0 likes
0 likes
Invite to Job
this is my CLI project code this is my CLI project code
this is command prompt interface this is command prompt interface
This CLI Calculator project is a simple command-line interface application built using TypeScript and Node.js. Its primary purpose is to provide users with basic arithmetic operations such as addition, subtraction, multiplication, and division. It utilizes Inquirer library for user input handling, ensuring a smooth and interactive experience. Features: Basic Arithmetic Operations: The calculator supports simple arithmetic operations including addition, subtraction, multiplication, and division. User-Friendly Interface: With the help of Inquirer library, the application provides a user-friendly interface for inputting numbers and selecting operations. TypeScript: The project is written in TypeScript, enhancing code maintainability and readability. Error Handling: It includes error handling to manage invalid inputs and division by zero scenarios. Modular Code: The code is structured in a modular way for easy management and potential future expansion. Installation: Navigate to the project directory in your terminal. Run npm i 18wahajcalculator Execute npm start command to run the application. Usage: Once the application is running, follow the prompts provided by Inquirer. Select the desired operation from the options provided. Enter the numbers when prompted. The result will be displayed on the CLI. This project serves as a practical example of TypeScript and Node.js implementation while showcasing basic arithmetic operations. It offers a simple yet effective calculator tool with a user-friendly interface. its my github account link [https://github.com/wahaj67]
Published:May 10, 2024
Comments (0)
undefined