-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhangfuxing
committed
Mar 27, 2024
1 parent
30158ba
commit 0058d67
Showing
2 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,9 @@ ProgressBar in terminal for deno | |
#### example | ||
|
||
```ts | ||
import { MultiProgressBar } from "https://deno.land/x/[email protected]/mod.ts"; | ||
import { MultiProgressBar } from "https://deno.land/x/[email protected]/mod.ts"; | ||
// or JSR | ||
// import { MultiProgressBar } from "@deno-library/progress"; | ||
import { delay } from "https://deno.land/[email protected]/async/delay.ts"; | ||
|
||
const title = "download files"; | ||
|
@@ -146,7 +148,9 @@ What is displayed and display order, default: ':bar :text :percent :time | |
#### simple example | ||
|
||
```ts | ||
import ProgressBar from "https://deno.land/x/[email protected]/mod.ts"; | ||
import ProgressBar from "https://deno.land/x/[email protected]/mod.ts"; | ||
// or JSR | ||
// import ProgressBar from "@deno-library/progress"; | ||
import { delay } from "https://deno.land/[email protected]/async/delay.ts"; | ||
|
||
const title = "downloading:"; | ||
|
@@ -169,7 +173,9 @@ await download(); | |
#### complex example | ||
|
||
```ts | ||
import ProgressBar from "https://deno.land/x/[email protected]/mod.ts"; | ||
import ProgressBar from "https://deno.land/x/[email protected]/mod.ts"; | ||
// or JSR | ||
// import ProgressBar from "@deno-library/progress"; | ||
import { delay } from "https://deno.land/[email protected]/async/delay.ts"; | ||
|
||
const total = 100; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters