Sign In

prime-calculate

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prime-calculate

Small command line app to determine whether input number is prime or composite

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Prime Calculate

A small terminal app to test whether input is prime or composite number

Installation

$ npm install -g prime-calculate

Usage

From the terminal:

$ prime-calculate
Number: <Insert Number of Your Choice>

Note

  • There is a bug if the program received a string (like "Hello World") rather than a numerical value
  • The program will output "Nan .... "
  • Any help in fixing this bug is welcome :)

Version

  • 1.0

License

  • ISC

Keywords

prime

FAQs

Package last updated on 31 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts