crypto-bigint
This library implements prime number generation and primality checking for crypto-bigint integers. In particular:
See the documentation for the specific tests for more information and references.