1.0.5 • Published 4 years ago

math-discord v1.0.5

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

Welcome to Math-Discord!

What does Math-Discord do? Math-Dscord is a easy to use npm package that does math in a console or discord You can use this package any where. This package is only for consoles / discord / node.js / npm! Here is some examples

const math = require('math-discord')
console.log(math.calculator(15,"*",3)
//Would log the answer
//You are using "*" for times tables!
//math-discord is required!

const math = require('math-discord')
console.log(math.calculator(15,"+",3)
//Would logs the answer
//You are using "+" for addition!
//math-discord is required!

const math = require('math-discord')
console.log(math.calculator(15,"/",3)
//Would logs the answer
//You are using "/" for division!
//math-discord is required!

const math = require('math-discord')
console.log(math.calculator(15,"-",3)
//Would logs the answer
//You are using "-" for subtraction!
//math-discord is required!

const math = require('math-discord')
console.log(math.calculator(15,"^",3)
//Would logs the answer
//You are using "^" for power!
//math-discord is required!

Thank you!

New Updates

  • / Name Change : math-discord
  • / Added ^ for power
  • / Check Examples for ^ for power
  • / New Dependency

How to install?

Like any other npm package, just run:

npm install math-discord or npm i math-discord

Thank you! I hope you enjoy math-discord!