@sigma-js/primes
JavaScript library for efficient prime number detection and arithmetic, with customizable algorithms for large numbers.
is-prime-fast
Fastest algorithm ever created to detect if a number is prime in O(1), that works in 95%+ cases for numbers in the 32-bit int range
fast-prime
Fastest Prime Number Calculation logic for nodejs and browser (checks, random generator, prime range generator, primes count generator, summation of primes, factorial of primes)
sieve-set
Generate a Sieve of Eratosthenes with constant time lookup
prime-fun
Suite for testing primality, finding primes, and finding prime k-tuples