1.1.0 • Published 4 years ago
calculatorlux v1.1.0
CalculatorLux
Author: @FSCYT
Installation
For Node Package Manager users:
npm i calculatorlux --save
For Yarn users:
yarn add discord-calculator
Are you tired of making so much functions to calculate something, or your just to lazy to make methods and functions to do that? Then this is your right choice. CalculatorLux is super light-weight package to make it faster to code!
Usage
Addition
const calculator = require("calculatorlux")
console.log(calculator.add(1, 4))
# Output: 5
Subtraction
const calculator = require("calculatorlux")
console.log(calculator.subtract(4, 1))
# Output: 3
Division
const calculator = require("calculatorlux")
console.log(calculator.division(4, 1))
# Output: 4