BigInt
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
var bigint = ; console;// 100000000000000000000000000000 // Bitwise operations on a big number (JavaScript only supports up to 32 bits)var value = ;
Using this package
You can install this package with NPM:
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).