primexpr
Check if number is prime using only RegExp!
Why?
https://iluxonchik.github.io/regular-expression-check-if-number-is-prime/
Usage
Get the package via NPM: npm install primexpr
.
const isPrime = ; const PRIME = 10007;console; //true const NOT_PRIME = 6;console; //false
This package is so awesome! How can I help?
😂