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