Ana dosya yüklendi!

Bu dosya bu işi yapar
This commit is contained in:
Akif9748 2022-10-25 15:51:59 +03:00
parent 98e3d9d021
commit db89bfcb30
1 changed files with 17 additions and 0 deletions

17
index.js Normal file
View File

@ -0,0 +1,17 @@
// Renkler!
const FgCyan = "\x1b[36m", FgGreen = "\x1b[32m", Reset = "\x1b[0m";
// Uyu!
const sleep = require("node:timers/promises").setTimeout;
// Config!
const BAS = "━", ORTA = "○", SON = "━", UZUNLUK = 20;
(async () => {
for (let i = 0; i <= UZUNLUK; i++) {
console.clear();
console.log(FgCyan + BAS.repeat(i) + Reset + ORTA + FgGreen + SON.repeat(Math.abs(UZUNLUK - i)));
await sleep(20);
}
console.log(Reset);
})();
// Made with JS and 💖 by Akif9748