Last active
August 29, 2020 13:12
-
-
Save buroz/99d1cf8d6b445d786e841e9d4aff4f9a to your computer and use it in GitHub Desktop.
Vizyonsuz türk e-ticaret domain'i yaratma scripti
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const names = [ | |
"cumhuriyeti", | |
"cehennemi", | |
"selalesi", | |
"evi", | |
"magazasi", | |
"shop", | |
"kasa", | |
"dunyasi", | |
"cenneti", | |
"yeri", | |
"mekani", | |
"sepeti", | |
"indirim", | |
"kasasi", | |
"kafasi", | |
"selalesi" | |
]; | |
const readline = require("readline").createInterface({ | |
input: process.stdin, | |
output: process.stdout, | |
}); | |
readline.question("Lütfen bir isim giriniz.\n", (name) => { | |
let i = Math.floor(Math.random() * names.length); | |
console.log(`${name + names[i]}.com`); | |
readline.close(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment