quick-is-prime
Test if a number is prime in constant time, using a cached Sieve of Eratosthenes.
sieve-set
Generate a Sieve of Eratosthenes with constant time lookup
prime-sieves
Implementation of various prime sieves in javascript with hooks for a sieving callback
crypto-sieve
Low memory-usage implementation of a Sieve of Eratosthenes.