1.0.1 • Published 9 months ago
@aditichouhan/math-library v1.0.1
Math Library
A lightweight npm library for basic math calculations.
Installation
You can install this library using npm:
npm install math-library
USAGE
const mathLibrary = require('math-library');
const sum = mathLibrary.add(5, 3);
console.log('Sum:', sum);
// Output: Sum: 8
API
add(a, b): Adds two numbers.
subtract(a, b): Subtracts the second number from the first.
multiply(a, b): Multiplies two numbers.
divide(a, b): Divides the first number by the second.