This project generates domain name combinations using:
- Pronouns
- Adjectives
- Nouns
- Extensions
It also detects and applies domain hacks automatically.
Example:
redes + .es → red.es
Monexe + .exe → Mon.exe
-
Combines:
- pronoun
- adjective
- noun
-
Checks if the generated name already ends with the extension (without the dot).
-
If it does:
- Removes that ending
- Reattaches the extension properly
-
If not:
- Adds the extension normally
Example:
name = "thegreatredes"
extension = ".es"
Steps:
- Remove dot →
"es" - Check:
thegreatredes endsWith "es" → true
- Cut ending:
thegreatred
- Add extension:
thegreatred.es
thegreatred.es
thebigMon.exe
ourgreatQualcom.com
ourbigredes.deb
Practice with:
- Nested loops
- String manipulation
.slice().endsWith()- Template literals