Modular package of Tom Wu's JavaScript implementation of arbitrary-precision integer arithmetic