pyron.math
v1.0.3
Published
Welcome to Pyron.Math! === ***What does Pyron.Math do?*** **Pyron.Math 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**
Downloads
3
Readme
Welcome to Pyron.Math!
What does Pyron.Math do? Pyron.Math 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('pyron.math')
console.log(math.calculator(15,"*",3)
//Would log the answer
//You are using "*" for times tables! You are doing "15 times 3"!
//pyron.math is required!
const math = require('pyron.math')
console.log(math.calculator(15,"+",3)
//Would logs the answer
//You are using "+" for addition! You are doing "15 plus 3"!
//pyron.math is required!
const math = require('pyron.math')
console.log(math.calculator(15,"/",3)
//Would logs the answer
//You are using "/" for division! You are doing "15 divide 3"!
//pyron.math is required!
const math = require('pyron.math')
console.log(math.calculator(15,"-",3)
//Would logs the answer
//You are using "-" for subtraction! You are doing "15 minus 3"!
//pyron.math is required!
Thank you! How to install?
Like any other npm package, just run:
npm install pyron.math or npm i pyron.math
Thank you! I hope you enjoy pyron.math!