I need to convert a string to BigInt like BigInteger
in Javascript
Example
var reqId = \"78099864177253771992779766288266836166272662\";
var
You can use mathjs:
var reqId = "78099864177253771992779766288266836166272662";
var myBigNumber = math.bignumber(reqId);
var res = math.add(myBigNumber, 1);
console.log(myBigNumber.toString());
// 7.8099864177253771992779766288266836166272662e+43
console.log(res.toString());
// 7.8099864177253771992779766288266836166272663e+43