0.0.1 • Published 7 years ago
wbigint v0.0.1
wbigint
This library will wrap BigInt to an equivalent big-integer class using native BigInt if available.
Check big-integer for more information
Install
$ npm install wbigintExample
const BigInt = require("wbigint");
const a = BigInt("11111111111111111111111111111111");
const b = BigInt("22222222222222222222222222222222");
const c = a.add(b);
console.log(c.toString());
// Output: 333333333333333333333333333333330.0.1
7 years ago