Hapus Node Baris Sebelumnya

for (let i = 0; i < 100; i++) {
  process.stdout.write(`\rProgress: ${i + 1}/100`);
}

console.log(); // final new line
Mr Dom