# browserify-bignum

> A browserify implementation of node-bignum

Latest version **1.3.0-2** (published 2014-01-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install browserify-bignum
pnpm add browserify-bignum
yarn add browserify-bignum
bun add browserify-bignum
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.0-2 |
| Published | 2014-01-12 |
| First published | 2013-12-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Luke Young |
| Maintainers | innoying |
| Keywords | arbitrary, precision, arithmetic, big, number, decimal, float, biginteger, bigdecimal, bignumber, bigint, bignum |

## Links

- npm: https://www.npmjs.com/package/browserify-bignum
- Repository: https://github.com/innoying/browserify-bignum
- Issues: https://github.com/innoying/browserify-bignum/issues
- npm.io page: https://npm.io/package/browserify-bignum

## 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.3.0-2 (latest) — 2014-01-12
- 1.3.0-1 — 2013-12-10
- 1.3.0 — 2013-12-10

## README

# browserify-bignum #

A JavaScript implementation of [node-bignum](https://github.com/justmoon/node-bignum) forked from the wonderful work done by MikeMcl as [bignumber.js](https://github.com/MikeMcl/bignumber.js)

## Usage
API functionality should be identical to that of [node-bignum](https://github.com/justmoon/node-bignum). However, a few methods are missing:
* BigNumber.prime(bits, safe=true)
* .toNumber()
* .and(n)
* .or(n)
* .xor(n)
* .invertm(n)
* .rand()
* .probPrime()
* .root(n)
* .shiftLeft(n)
* .shiftRight(n)
* .gcd(n)
* .jacobi(n)

*I have no intention of implementing them* if you would like to do so and submit a pull request I would happily accept it. I wrote this library so I could browserify [node-srp](https://github.com/mozilla/node-srp) which does not require any of the above mentioned methods.

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