prime-calculate

1.0.1 • Public • Published

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

Copyright (c) 2015 Danny Nguyen, Vanielle Le

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i prime-calculate

    Weekly Downloads

    2

    Version

    1.0.1

    License

    ISC

    Last publish

    Collaborators

    • lekosfmi