0.0.1 • Published 6 years ago

wbigint v0.0.1

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
6 years ago

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 wbigint

Example

const BigInt = require("wbigint");

const a = BigInt("11111111111111111111111111111111");
const b = BigInt("22222222222222222222222222222222");

const c = a.add(b);

console.log(c.toString());

// Output: 33333333333333333333333333333333