YD-HANDLERS
const {ProgressBar} = require("yd-handlers")
const bar1 = ProgressBar(100, 50, {
size: 40,
line: "⬤",
slider: "─"
})
console.log(bar1) // outputs ────────────────────⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤
const bar2 = ProgressBar(100, 50, {
size: 40,
line: "━",
slider: "⬤"
})
//console.log(bar2) // outputs ⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤⬤━━━━━━━━━━━━━━━━━━━━
const bar3 = ProgressBar(100, 50, {
size: 40,
line: "▷||",
slider: "❚❚"
})
//console.log(bar3) // outputs ❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚▷||▷||▷||▷||▷||▷||▷||▷||▷||▷||▷||▷||▷||▷||▷||▷||▷||▷||▷||▷||
const bar4 = ProgressBar(100, 50)
//console.log(bar4) // outputs 🔘🔘🔘🔘🔘🔘🔘🔘🔘🔘🔘🔘🔘🔘🔘🔘🔘🔘🔘🔘▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
you can see more functions if you use Visual Studio Code