1.0.1 • Published 2 years ago

stupid-calculator v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

stupid-calculator

A perfect stupidly built calculator for your noob code...

Install

Install with npm

$ npm install --save stupid-calculator

How to use it

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...

Coming soon

  • Calculator Without Signs

About

This project is just for fun, built only for my sake, so don't take it too seriously.

Contributing

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.

License

Copyright © 2022, h4hack3r. Released under the ISC License.

1.0.1

2 years ago

1.0.0

2 years ago