yd-handlers

0.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i yd-handlers

Weekly Downloads

3

Version

0.0.2

License

MIT

Unpacked Size

9.66 kB

Total Files

12

Last publish

Collaborators

  • ytygrunn1ngark456