A perfect stupidly built calculator for your noob code...
Install with npm
$ npm install --save stupid-calculator
To use the Calculator with in-built signs,
const CalculatorWithSign = require('stupid-calculator');
const calculator = new CalculatorWithSign();
calculator.work('+');
calculator.calculate(1,1); //2
calculator.work('-');
calculator.calculate(8,5); //3
calculator.work('*');
calculator.calculate(2,2); //4
//And so on...
To use the Calculator without signs,
//Calculator Without Signs is not yet released...
- Calculator Without Signs
This project is just for fun, built only for my sake, so don't take it too seriously.
This project is still under base development and testing, so please don't send pull requests now. I will update when the upcoming features are ready, so there you can contribute. Also, don't forget to give a star, I would really appreciate it.
Copyright © 2022, h4hack3r Released under the ISC License.