Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.
/ prime-sieve Public archive

An implementation of the sieve of Eratosthenes to check prime numbers.

License

Notifications You must be signed in to change notification settings

Prosen-Ghosh/prime-sieve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prime-sieve

An implementation of the sieve of Eratosthenes to check prime numbers.

npm license github-issues

travis-status stars forks

Features

Install

npm install --save prime-sieve

Usage

const isPrime = require('prime-sieve');

isPrime(2);
//=> true

isPrime(20254654641);
//=> false

isPrime(99999999944441);
//=> true

Author

Prosen Ghosh prosenghosh25@gmail.com (https://bd.linkedin.com/in/prosen-ghosh-baba9aa8)

License

  • MIT

About

An implementation of the sieve of Eratosthenes to check prime numbers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published