part-calculator-module
v1.1.3
Published
Calculator Module
Downloads
9
Readme
Calculator Module
A powerful and easy-to-use calculator module that performs basic arithmetic operations:
- Summation
- Subtraction
- Multiplication
- Division
- Modulus
- Power
Installation
To install the package, run the following command:
npm install part-calculator-module
Usage
const calculator = require("part-calculator-module");
const sum = calculator.sum(3, 10);
const sub = calculator.subtract(10, 5);
const div = calculator.divide(10, 2);
const mul = calculator.multiply(4, 3);
const mod = calculator.modulus(10, 3);
const pow = calculator.power(2, 3);
Features
- Simple API: Easy-to-use functions for basic arithmetic operations.
- Lightweight: Minimal dependencies for a small footprint.
- Extensible: Easily add more operations as needed.
License
This project is licensed under the ISC License