ehsanallahi / typescript_calculator

Simple Command Line Calculator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeScript Calculator

TypeScript Calculator Logo

Welcome to the TypeScript Calculator, a simple yet powerful command-line calculator built with TypeScript.

Installation:

npm install ehsanallahi-calculator

Usage:

npx ts-calculator

Features

  • ๐Ÿ’ก Modern, easy-to-use calculator.
  • โž• Supports addition.
  • โž– Supports subtraction.
  • โœ–๏ธ Supports multiplication.
  • โž— Supports division.
  • ๐ŸŽฏ Handles exponents and parentheses.
  • ๐ŸŒˆ Elegant, color-coded output.
  • ๐Ÿš€ Lightning-fast calculations.

Examples

$ npx ts-calculator

Enter your expression:
  • Addition: 5 + 3
  • Subtraction: 10 - 2
  • Multiplication: 4 * 6
  • Division: 15 / 3
  • Exponents: 2 ^ 3

The calculator will evaluate the expression and display the result with vibrant colors.

Follow Me

Follow me on GitHub for more exciting projects and updates. ๐Ÿš€

Credits

This calculator was developed by Ehsan Allahi and is available as an open-source project on GitHub.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contribute

Contributions are welcome! If you have ideas for improvement or find any bugs, please open an issue or submit a pull request on the GitHub repository.

Let's make this calculator even better together! ๐ŸŒŸ

Bug Reporting

If you encounter any issues or have suggestions for improvement, please open an issue on theGitHub repository. Your feedback is valuable to us, and we'll do our best to address any problems.

Happy calculating! ๐Ÿงฎ๐Ÿ’ซ

About

Simple Command Line Calculator


Languages

Language:JavaScript 100.0%