Skip to content

Commit

Permalink
Update import URLs in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
legowerewolf committed Nov 1, 2020
1 parent 1a0c355 commit 8e940ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ called the Classic API.

```ts
// Import the Classic API from deno.land/x/
import ratlog from "https://deno.land/x/ratlog@v0.3.0/classic-api.ts";
import ratlog from "https://deno.land/x/ratlog@v1.0.0/classic-api.ts";

// Set up logging through the console output
const log = ratlog(console.log);
Expand Down Expand Up @@ -54,7 +54,7 @@ Core API. It's less fully featured, but provides a parsing implementation.

```ts
// Import the Core API from deno.land/x/
import Ratlog from "https://deno.land/x/ratlog@v0.3.0/ratlog.ts";
import Ratlog from "https://deno.land/x/ratlog@v1.0.0/ratlog.ts";

Ratlog.log({ message: "hello, world" });
// returns "hello, world"
Expand Down

0 comments on commit 8e940ea

Please sign in to comment.