Skip to content

Commit 4f6cd1b

Browse files
committed
docs: show JSR in examples
1 parent ee8b8f7 commit 4f6cd1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function that doesn't require any privileges.
1616
Import the `hash` and/or `verify` functions and use them:
1717

1818
```ts
19-
import { hash, verify } from "https://deno.land/x/scrypt@v4.3.1/mod.ts";
19+
import { hash, verify } from "jsr:@denorg/scrypt@v4.3.1";
2020

2121
const hashResult = hash("password");
2222
const verifyResult = verify("password", hashResult);
@@ -37,14 +37,14 @@ dpx scrypt verify <password> <hash>
3737
Alternatively, you can use it directly from the CLI by using `deno run`:
3838

3939
```bash
40-
deno run https://deno.land/x/scrypt@v4.3.1/cli.ts hash <password>
41-
deno run https://deno.land/x/scrypt@v4.3.1/cli.ts verify <password> <hash>
40+
deno run jsr:@denorg/scrypt@v4.3.1/cli hash <password>
41+
deno run jsr:@denorg/scrypt@v4.3.1/cli verify <password> <hash>
4242
```
4343

4444
You can also install it globally using the following:
4545

4646
```bash
47-
deno install -n scrypt https://deno.land/x/scrypt@v4.3.1/cli.ts
47+
deno install -n scrypt jsr:@denorg/scrypt@v4.3.1/cli
4848
```
4949

5050
Then, the package is available to run:

0 commit comments

Comments
 (0)