m-simple-calculator
v3.0.0
Published
A simple Calculator with Typescript,Node.js and inquirer
Readme
Simple Command-line Calculator App
This is a straightforward command-line calculator application built with Node.js. It allows users to perform basic arithmetic operations directly from the terminal using the node index.js command.
What's new in version 2.0.0
Now you can enjoy the calculator because it supports the scientific operations also....
Features
- Command-line Interface: Operated directly from the command line using Node.js.
- User Input: Input two numbers and select an arithmetic operation from a list of choices.
- Arithmetic Operations: Supports addition (+), subtraction (-), multiplication (*), and division (/).
- Sientific operations: Support logarithm(log) , sine(sin),cosine(cos) etc.
- Error Handling: Handles division by zero error and notifies the user appropriately.
- Clear Output: Displays the result of the operation in a clear and readable format.
How to Contribute
Contributions are welcome! If you have any suggestions, bug fixes, or improvements, feel free to open an issue or submit a pull request.
Using the Simple Calculator on npm
You can use the simple calculator directly from npm using the npx command. Follow the instructions below based on your operating system:
For Windows Users:
npx m-simple-calculator
For Mac/Linux users:
sudo npx m-simple-calculator
This command will fetch and execute the m-simple-calculator package directly from npm.
View the Package on npm
You can also view the package on npmjs.com by following this link: https://www.npmjs.com/package/m-simple-calculator
Feel free to explore the package details, version history, and documentation on the npm website.
Enjoy using the simple calculator!
