Releases: yetnt/progressbar
Releases · yetnt/progressbar
v3.0.1
v3.0.0
What's Changed
- Added a discord.js example, added an image folder for the logo, discord output and future use by @FloShutUp in #2
Major for Edge Overrides
Edge Overrides when initialized via the class, can be left empty, but will be left as an empty array. Make sure edge overrides are always arrays!
charSplit method
To seprate a bar with some value (Replace the last filled char), you can use the charSplit()
method.
let bar = new ProgressBar(56, 30, "▢", "▧");
bar.bar; // ▧▧▧▧▧▧▧▧▧▧▧▧▧▧▧▧▢▢▢▢▢▢▢▢▢▢▢▢▢▢
bar.charSplit("▶");
bar.bar; // ▧▧▧▧▧▧▧▧▧▧▧▧▧▧▧▶▢▢▢▢▢▢▢▢▢▢▢▢▢▢
The bar will NOT charSplit if :
Last Edge Override is provided
AND
Bar's percentage is 100%
All Properties in the Class now update the bar.
New Contributors
- @FloShutUp made their first contribution in #2
Full Changelog: v2.2.0...v3.0.0
v2.2.0 `charSplit()`
New Function! (check the README, i aint documenting it again)
Full Changelog: v2.1.0...v2.2.0
v2.1.0 Gub fixes
Full Changelog: v2.0.0...v2.1.0
v2.0.0 JS -> TS
Entire library has moved from Javascipt to Typescript!
Of course the docs are still in JS, because you can just add the types
What's Changed
Full Changelog: v1.3.0...v2.0.0
1.3.0 Class!
Hate having a function? Now there's a class
!
const pb = require("@yetnt/progressbar")
let bar = new pb.ProgressBar(56, 30, "▢", "▧", ["◁", "◀"], ["▷", "▶"]);
More info in the docs
Full Changelog: v1.2.0...v1.3.0
1.2.0 Function now accepts floats for percentage
Full Changelog: v1.0.1...v1.2.0
1.0.1 (types)
Full Changelog: v1.0.0...v1.0.1
Just added types
1.0.0
Full Changelog: https://github.com/Yetity/progressBar.js/commits/v1.0.0