# bigintjs

> Allows working with integers of any size.

Latest version **0.3.5** (published 2014-04-10) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.5 |
| Published | 2014-04-10 |
| First published | 2014-04-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 19 |
| Author | Blixt |
| Maintainers | blixt |

## Links

- npm: https://www.npmjs.com/package/bigintjs
- Repository: https://github.com/blixt/js-bigint
- Issues: https://github.com/blixt/js-bigint/issues
- npm.io page: https://npm.io/package/bigintjs

## Recent versions

- 0.3.5 (latest) — 2014-04-10
- 0.3.4 — 2014-04-10
- 0.3.3 — 2014-04-10
- 0.3.2 — 2014-04-10
- 0.3.1 — 2014-04-09
- 0.3.0 — 2014-04-09
- 0.2.0 — 2014-04-07
- 0.1.2 — 2014-04-06
- 0.1.1 — 2014-04-06
- 0.1.0 — 2014-04-06

## README

BigInt [![Build Status Image][]][Build Status]
======

Enables working with integers beyond 53 bits (the upper limit of what
JavaScript's `Number` type can accurately represent).

This is a pure JavaScript library, unlike other libraries that do the
same thing.


Example
-------

```js
var bigint = require('bigintjs');

console.log(bigint('99999999999999999999999999999').add('1').toString());
// 100000000000000000000000000000

// Bitwise operations on a big number (JavaScript only supports up to 32 bits)
var value = bigint('0xFFFFFFFFFFFFFFFF').and('0xF0F0F0F0F0F0F0F0').shiftLeft(8);
```


Using this package
------------------

You can install this package with [NPM][]:

```bash
npm install --save bigintjs
```

To be able to run this in a browser, you need to use a framework that
supports CommonJS modules (for example: [Browserify][]).


[Browserify]: http://browserify.org/
[Build Status]: https://travis-ci.org/blixt/js-bigint
[Build Status Image]: https://api.travis-ci.org/blixt/js-bigint.png?branch=master
[NPM]: https://www.npmjs.org/

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