Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update examples in js/README.md #664

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ and exposes an interface which is available via the `mod.ts` and can be imported
like this:

```ts
import { doc } from "https://deno.land/x/deno_doc@{VERSION}/mod.ts";
import { doc } from "jsr:@deno/doc@{VERSION}";
```

Where `{VERSION}` should be substituted with the specific version you want to
Expand All @@ -21,7 +21,7 @@ A minimal example of using `doc()` and printing out some information about a
function:

```ts
import { doc } from "https://deno.land/x/deno_doc@{VERSION}/mod.ts";
import { doc } from "jsr:@deno/doc@{VERSION}";

const colorsDoc = await doc("https://deno.land/std/fmt/colors.ts");

Expand Down