jeffs-math-shortcut
v1.1.2
Published
A simple Javascript library for addition, subtraction, multiplication and division
Readme
Simple Math Library for Javascript
A simple Javascript math library for CommonJS for the following methods:
add()subtract()multiply()divide()
Installation:
npm install jeffs-math-shortcutExample usage:
const math = require('jeffs-math-shortcut');
console.log(math.add(10, 5)); // Output: 15
console.log(math.subtract(10, 5)); // Output: 5
console.log(math.multiply(10, 7)); // Output: 17
console.log(math.divide(21, 3)); // Output: 7
1.1.2 (2025-04-01)
- Fix exports statement.
1.1.1 (2025-04-01)
- Edit README to included instructions and sample code.
1.1.0 (2025-03-30)
- Added
add()function for addition. - Added
subtract()function for subtraction.
1.0.0 (2025-03-30)
- Initial stable release.
- Includes
multiply()anddivide()functions.
0.0.1 (2024-03-27)
- Initial release.
- Includes
multiply()anddivide()functions.
