import { default } from "https://deno.land/x/progress@v1.3.2/mod.ts";
Properties
private
encoder: TextEncoderMethods
private
breakLine()private
clearLine(direction?: Direction): voidprivate
showCursor(): voidprivate
stdoutWrite(msg: string)private
write(msg: string): voidend(): void
end: end a progress bar. No need to call in most cases, unless you want to end before 100%
render(completed: number, options?: renderOptions): void
"render" the progress bar
completed
- completed valueoptions
- optional parameterstitle
- progress bar titletotal
- total number of ticks to completecomplete
- completion character, If you want to change at a certain moment. For example, it turns red at 20%incomplete
- incomplete character, If you want to change at a certain moment. For example, it turns red at 20%