@@ -11,9 +11,14 @@ ProgressBar in terminal for deno
1111#### example
1212
1313``` ts
14- import {
MultiProgressBar }
from " https://deno.land/x/[email protected] .8 /mod.ts" ;
14+ import {
MultiProgressBar }
from " https://deno.land/x/[email protected] .9 /mod.ts" ;
1515import {
delay }
from " https://deno.land/[email protected] /async/delay.ts" ;
16+
1617// or JSR
18+ // import { MultiProgressBar } from "jsr:@deno-library/[email protected] ";19+ // import { delay } from "jsr:@std/[email protected] ";20+
21+ // or JSR (Run `deno add @deno-library/progress` and `deno add @std/async`)
1722// import { MultiProgressBar } from "@deno-library/progress";
1823// import { delay } from "@std/async";
1924
@@ -149,10 +154,16 @@ What is displayed and display order, default: ':bar :text :percent :time
149154#### simple example
150155
151156``` ts
152- import ProgressBar from " https://deno.land/x/[email protected] /mod.ts" ;
157+ import ProgressBar from " https://deno.land/x/[email protected] /mod.ts" ;
158+ import {
delay }
from " https://deno.land/[email protected] /async/delay.ts" ;
159+
153160// or JSR
161+ // import ProgressBar from "jsr:@deno-library/[email protected] ";162+ // import { delay } from "jsr:@std/[email protected] ";163+
164+ // or JSR (Run `deno add @deno-library/progress` and `deno add @std/async`)
154165// import ProgressBar from "@deno-library/progress";
155- import {
delay }
from " https://deno.land/[email protected] /async/delay.ts " ;
166+ // import { delay } from "@std /async";
156167
157168const title = " downloading:" ;
158169const total = 100 ;
@@ -174,10 +185,16 @@ await download();
174185#### complex example
175186
176187``` ts
177- import ProgressBar from " https://deno.land/x/[email protected] /mod.ts" ;
188+ import ProgressBar from " https://deno.land/x/[email protected] /mod.ts" ;
189+ import {
delay }
from " https://deno.land/[email protected] /async/delay.ts" ;
190+
178191// or JSR
192+ // import ProgressBar from "jsr:@deno-library/[email protected] ";193+ // import { delay } from "jsr:@std/[email protected] ";194+
195+ // or JSR (Run `deno add @deno-library/progress` and `deno add @std/async`)
179196// import ProgressBar from "@deno-library/progress";
180- import {
delay }
from " https://deno.land/[email protected] /async/delay.ts " ;
197+ // import { delay } from "@std /async";
181198
182199const total = 100 ;
183200const progress = new ProgressBar ({
0 commit comments