What is this?

calculate basic maths algebra.

Installation

npm i basic-maths-calculator --save

Operations

const calculator = require('basic-calculator')

calculator.calculate(1,2,options = {
    "operation":"add"
})

options

  • add :-to add two number
  • difference :-to substract two number
  • product :- tp multiply two numbers
  • divide :-to divide two numbers where 2nd number must not be 0
  • remainder :-to find remainder of 1st with respect to second where 2nd number must not be 0