A modern big number implementation in TypeScript. It's based on bn.js but overhauled and refactored using modern JavaScript/TypeScript with type annotations out of the box.
npm install --save @hexarc/bn.ts
import BN from "@hexarc/bn.ts";
const a = new BN("dead", 16);
const b = new BN("101010", 2);
const res = a.add(b);
console.log(res.toString(10)); // 57047
As this library is fully compatible with bn.js
you can use it in the same way.