# powbigint

> Calculate powers of big integers

Latest version **1.2.0** (published 2025-03-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install powbigint
pnpm add powbigint
yarn add powbigint
bun add powbigint
```

## Health

**Score 40/100 (D)** — status: maintenance-mode.

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

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2025-03-14 |
| First published | 2022-12-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22 |
| Dependencies | 0 |
| Unpacked size | 5.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | phuritd |
| Maintainers | phuritd |
| Keywords | power, big, integer, biginteger, bigint, pow, math, mathematics, exponential, util, utility, lib, library, javascript, typescript |

## Links

- npm: https://www.npmjs.com/package/powbigint
- Repository: https://github.com/richeyphu/PowBigInt.js
- Homepage: https://github.com/richeyphu/PowBigInt.js#readme
- Issues: https://github.com/richeyphu/PowBigInt.js/issues
- npm.io page: https://npm.io/package/powbigint

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2025-03-14
- 1.1.1 — 2023-03-08
- 1.1.0 — 2023-03-07
- 1.0.4 — 2022-12-21
- 1.0.4-1 — 2022-12-21
- 1.0.4-0 — 2022-12-21
- 1.0.3 — 2022-12-21
- 1.0.2 — 2022-12-21
- 1.0.1 — 2022-12-21

## README

# PowBigInt.js

[![NPM version](https://img.shields.io/npm/v/powbigint.svg)](https://npmjs.com/package/powbigint)
[![NPM total downloads](https://img.shields.io/npm/dt/powbigint)](https://npmjs.org/package/powbigint)
[![install size](https://packagephobia.com/badge?p=powbigint)](https://packagephobia.com/result?p=powbigint)
[![minified size](https://img.shields.io/bundlephobia/min/powbigint)](https://bundlephobia.com/package/powbigint)

A simple utility library for calculating powers of big integers.

## Install

```sh
$ npm i powbigint
# or
$ yarn add powbigint
# or
$ pnpm add powbigint
```

## Usage

```js
import { powBigInt } from 'powbigint';

powBigInt(BigInt(2), 64n);  // 18446744073709551616n
powBigInt(2n, 1000000n);    // 99006562292958...376n (301030 digits)
```

## License

[MIT](LICENSE)

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