A modern JavaScript library for number theory and modular arithmetic — including primes, totients, modular inverses, and more.