Skip to content

Commit

Permalink
update readme for JSR
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangfuxing committed Mar 27, 2024
1 parent 30158ba commit 0058d67
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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:";
Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@deno-library/progress",
"version": "1.4.6",
"version": "1.4.7",
"exports": "./mod.ts",
"lock": false,
"imports": {
Expand Down

0 comments on commit 0058d67

Please sign in to comment.