calculatorlux

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i calculatorlux

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

3.39 kB

Total Files

6

Last publish

Collaborators

  • fscyt