quickmath-cli
v1.1.1
Published
A simple cli calculator with Typescript, Node.js and inquirer
Downloads
10
Readme
QuickMath CLI
QuickMath CLI is a simple command-line tool for performing basic arithmetic operations.
Installation
You can install QuickMath CLI globally using npm:
npm install -g quickmath-cli
Usage
To use QuickMath CLI, simply run the quickmath command in your terminal. You will be prompted to enter your name and two numbers along with an arithmetic operator (+, -, *, /).
quickmath-cli
Once you've entered the required information, QuickMath CLI will perform the calculation and display the result.
Example
Here's an example of using QuickMath CLI:
$ quickmath-cli
? Enter your Name: John
? Enter First Number: 10
? Enter Second Number: 5
? Enter Operator: +
15
In this example, John entered two numbers (10 and 5) and chose the addition operator (+), resulting in the sum of 15.
Operators
QuickMath CLI supports the following arithmetic operators:
Addition (+)
Subtraction (-)
Multiplication (*)
Division (/)
License
This project is licensed under the MIT License - see the LICENSE file for details.