1.0.0 • Published 7 years ago
about-prime v1.0.0
About Prime
About prime is a npm package that let you check the prime and check the prime number give the index of it.
Usage
const AP = require('about-prime')
AP.isPrime(2) // this should return true
AP.isPrime(4) // this should return false
AP.indexPrime(1) // this should return 2
AP.indexPrime(2) // this should return 3
license
MIT
1.0.0
7 years ago