1.0.2 • Published 11 months ago
calciiii v1.0.2
Calciiii
Installation
Install the package using npm:
npm install calciiii
Usage
Import the functions from the package and use them in your code:
const { add, sub, mul, div } = require('your-package-name');
add(3, 4); // Output: 7
sub(5, 2); // Output: 3
mul(2, 6); // Output: 12
div(10, 2); // Output: 5
API
add(a, b)
Add two numbers together and log the result to the console.
a
(number): The first number.b
(number): The second number.
sub(a, b)
Subtract the second number from the first number and log the result to the console.
a
(number): The first number.b
(number): The second number.
mul(a, b)
Multiply two numbers together and log the result to the console.
a
(number): The first number.b
(number): The second number.
div(a, b)
Divide the first number by the second number and log the result to the console.
a
(number): The first number.b
(number): The second number.
Contributing
Contributions are welcome! If you find any issues or want to add new features, please open an issue or submit a pull request.