1.1.0 • Published 5 years ago
calculatorlux v1.1.0
CalculatorLux
Author: @FSCYT
Installation
For Node Package Manager users:
npm i calculatorlux --saveFor Yarn users:
yarn add discord-calculatorAre 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: 5Subtraction
const calculator = require("calculatorlux")
console.log(calculator.subtract(4, 1))
# Output: 3Division
const calculator = require("calculatorlux")
console.log(calculator.division(4, 1))
# Output: 4