1.0.1 • Published 4 years ago
math_easy v1.0.1
Welcome to Math_Easy!
What does Math_Easy do? Math_Easy is a easy to use npm package that does math on the spot! You can use this package any where. This package is only for node.js / npm! Here is some examples
const math = require('math_easy')
console.log(math.calculator(15,"*",3)
//Would log the answer
//You are using "*" for times tables! You are doing "15 times 3"!
//easy_math is required!
const math = require('math_easy')
console.log(math.calculator(15,"+",3)
//Would logs the answer
//You are using "+" for addition! You are doing "15 plus 3"!
//easy_math is required!
const math = require('math_easy')
console.log(math.calculator(15,"/",3)
//Would logs the answer
//You are using "/" for division! You are doing "15 divide 3"!
//easy_math is required!
const math = require('math_easy')
console.log(math.calculator(15,"-",3)
//Would logs the answer
//You are using "-" for subtraction! You are doing "15 minus 3"!
//easy_math is required!
Thank you!
How to install?
Like any other npm package, just run:
npm install math_easy or npm i math_easy
Thank you! I hope you enjoy math_easy!