is-prime-number
Advanced tools
Comparing version 2.0.2 to 2.1.0
{ | ||
"name": "is-prime-number", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"description": "Returns boolean of if provided number is prime.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,4 +0,4 @@ | ||
# IsPrimeNumber - JavaScript | ||
# is-prime-number | ||
The `is-prime-number` module determines whether the passed value is a prime number. | ||
Node.js JavaScript module to determine whether the passed value is a prime number. | ||
@@ -9,13 +9,13 @@ ```bash | ||
### Syntax | ||
## Syntax | ||
```javascript | ||
isPrime(value) | ||
isPrime(value); | ||
``` | ||
#### Parameters | ||
### Parameters | ||
- `value` The value to be tested for being a prime number. | ||
#### Return value | ||
### Return value | ||
A `boolean` indicating whether or not the given value is a prime number. | ||
### Examples | ||
## Examples | ||
```javascript | ||
@@ -22,0 +22,0 @@ const isPrime = require('is-prime-number'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39
2275
5