https://github.com/jonaxplanta/primenumbersalgorithm
  
  
    A simple Prime Number  Finder Algorith using TypeScript. 
    https://github.com/jonaxplanta/primenumbersalgorithm
  
algorithm mathematics nodejs prime-numbers terminal-based training typescript
        Last synced: 7 months ago 
        JSON representation
    
A simple Prime Number Finder Algorith using TypeScript.
- Host: GitHub
- URL: https://github.com/jonaxplanta/primenumbersalgorithm
- Owner: JonaxPlanta
- License: mit
- Created: 2024-09-07T04:43:06.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-23T06:51:24.000Z (11 months ago)
- Last Synced: 2025-01-30T13:41:45.086Z (9 months ago)
- Topics: algorithm, mathematics, nodejs, prime-numbers, terminal-based, training, typescript
- Language: TypeScript
- Homepage:
- Size: 3.27 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- 
            Metadata Files:
            - Readme: README.md
- License: LICENSE
 
Awesome Lists containing this project
README
          
### Prime Numbers Algorithm
This is a simple program to show the **prime numbers** to a *limit number*.
---
### Dependences
This is **dependences** to run the program:
| Name       | Download Link                                  |
|------------|------------------------------------------------|
| NodeJS     | https://nodejs.org/en/download/package-manager |
| TypeScript | https://www.typescriptlang.org/download/       |
### Installing
#### NodeJS
   1. Open the **terminal**
   
      - Windows
      ```
      Windows + R : "cmd" or "powershell"
      ```
   
      - Linux
      ```
      Ctrl + Alt + T
      ```
   
   2. Insert the following command
      ```
      cd 
      ```
   3. Then
      ```
      npm init -y
      ```
#### TypeScript
   1. Open the **terminal**
   
      - Windows
      ```
      Windows + R : "cmd" or "powershell"
      ```
   
      - Linux
      ```
      Ctrl + Alt + T
      ```
   
   2. Insert the following command
      ```
      cd 
      ```
   3. Then
      ```
      npm install -g typescript
      ```
---
### How to run
1. Open the **terminal**
   
   - Windows
   ```
   Windows + R : "cmd" or "powershell"
   ```
   
   - Linux
   ```
   Ctrl + Alt + T
   ```
   
2. Insert the following command and run
   ```
   node 
   ```
 
3. Insert the *limit value* and wait...
   ```
   =======================
   PRIME NUMBERS ALGORITHM
   =======================
   Enter the limit number: <...>
   ```