square-and-multiply
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

square-and-multiply

Get the square and multiply of the base, the exponent and the modulus

Installation

npm install square-and-multiply

Usage

import squareAndMultiply from 'square-and-multiply';

console.log(squareAndMultiply(14, 27, 37));
// => 6

API

squareAndMultiply(base, exponent, modulus)

Returns the square and multiply of base, exponent and modulus.

Related

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i square-and-multiply

    Weekly Downloads

    1

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    3.26 kB

    Total Files

    5

    Last publish

    Collaborators

    • knutkirkhorn