Calculator
Simple calculator application developed using TypeScript, Node.js, and Inquirer.
Usage
s
- Clone the repository:
git clone https://github.com/M-Ehtesham-Ul-Hassan-Malik/TypeScript.git
- Navigate to the project directory:
cd Simple_Calculator
- Install dependencies:
npm install
- Run the calculator:
npm start
-
Follow the prompts to enter two numbers and select an operation (Addition, Subtraction, Multiplication, or Division).
-
To use the calculator utility directly from the command line without cloning the repository, you can use the following npx command:
npx basic-math-util-calculator
This command will fetch the basic-math-util-calculator
package from the npm registry and run it directly in your terminal.
Dependencies
- inquirer: A command-line interface for Node.js.
Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.