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.
- Make sure you have Node.js installed on your system.
- Open a terminal or command prompt and navigate to the project directory.
- 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:
npm run calc
npm run calc:debug
npm test
npm run clear-logs
If src/*.ts have been modifed, run the following command to build the .js files.
npm run build