is-prime-by-eric
v1.0.2
Published
Check if a number is prime
Downloads
2
Maintainers
Readme
Is Prime
Check if a number is a prime number
Installation:
npm install is-prime-by-eric
Example:
const isPrime = require("is-prime-by-eric");
console.log("Is 17 a prime number: " + isPrime(17));