# square-and-multiply

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

Latest version **2.0.0** (published 2023-02-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install square-and-multiply
pnpm add square-and-multiply
yarn add square-and-multiply
bun add square-and-multiply
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2023-02-20 |
| First published | 2017-11-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=14.16 |
| Dependencies | 0 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Knut Kirkhorn |
| Maintainers | knutkirkhorn |
| Keywords | square, and, multiply, math |

## Links

- npm: https://www.npmjs.com/package/square-and-multiply
- Repository: https://github.com/knutkirkhorn/square-and-multiply
- Homepage: https://github.com/knutkirkhorn/square-and-multiply#readme
- Issues: https://github.com/knutkirkhorn/square-and-multiply/issues
- npm.io page: https://npm.io/package/square-and-multiply

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2023-02-20
- 1.0.5 — 2023-01-21
- 1.0.4 — 2021-11-09
- 1.0.3 — 2018-01-15
- 1.0.2 — 2018-01-03
- 1.0.1 — 2017-11-19
- 1.0.0 — 2017-11-19

## README

# square-and-multiply

> Get the square and multiply of the base, the exponent and the modulus

## Installation

```
npm install square-and-multiply
```

## Usage

```js
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

- [square-and-multiply-cli](https://github.com/knutkirkhorn/square-and-multiply-cli) - CLI for this module

---
_Source: https://npm.io/package/square-and-multiply · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
