2.0.0 • Published 3 years ago
square-and-multiply v2.0.0
square-and-multiply
Get the square and multiply of the base, the exponent and the modulus
Installation
npm install square-and-multiplyUsage
import squareAndMultiply from 'square-and-multiply';
console.log(squareAndMultiply(14, 27, 37));
// => 6API
squareAndMultiply(base, exponent, modulus)
Returns the square and multiply of base, exponent and modulus.
Related
- square-and-multiply-cli - CLI for this module