Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-23T04:38:51.000Z (about 1 month ago)
- Last Synced: 2024-11-23T05:21:00.642Z (about 1 month ago)
- Topics: algorithm, mathematics, nodejs, prime-numbers, terminal-based, training, typescript
- Language: TypeScript
- Homepage:
- Size: 2.85 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: <...>
```