Skip to content

h4hack3r/stupid-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published