Skip to content

vikramcse/check-prime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

check-prime

Node module for checking if a number is prime

Install

$ npm install --save check-prime

Usage

var isPrime = require('check-prime');

isPrime(2);
// => true

isPrime(7);
// => true

isPrime(1);
// => false

About

Node module for checking if a number is prime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published