@sigma-js/primes
JavaScript library for efficient prime number detection and arithmetic, with customizable algorithms for large numbers.
@yetnt/ump
A very useless math package for your complex javascript projects
quick-primefactors
Quickly get a number's prime factors, using a cached Sieve of Eratosthenes
primes-and-factors
module with functions relating to the prime factors of a positive integer