Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/progress/mod.ts>default#render

ProgressBar in terminal for deno
Go to Latest
method default.prototype.render
import { default } from "https://deno.land/x/progress@v1.4.2/mod.ts";

"render" the progress bar

  • completed completed value
  • options optional parameters
    • title progress bar title
    • total total number of ticks to complete
    • text optional, custom text, default: ''
    • complete 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%
    • prettyTimeOptions prettyTime options

Parameters

completed: number
optional
options: renderOptions = [UNSUPPORTED]