CLI Calculator

This is a simple command-line calculator program implemented in JavaScript. It allows you to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.

Usage

  1. Make sure you have Node.js installed on your system.
  2. Open a terminal or command prompt and navigate to the project directory.
  3. Run the following command to install the project dependencies:
npm install

After the installation is complete, you can run the calculator using one of the following commands:

Run calculator:
npm run calc
To enable interactive logs:
npm run calc:debug
Run testing:
npm test
Clear logs
npm run clear-logs

Development

If src/*.ts have been modifed, run the following command to build the .js files.

npm run build