Skip to content

Commit

Permalink
docs: Update Deno SDK readme (#9486)
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst authored Nov 8, 2023
1 parent 8f862a9 commit 7bb2161
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/deno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

## Links

- [SDK on Deno registry](https://deno.land/x/sentry)
- [Official SDK Docs](https://docs.sentry.io/quickstart/)
- [TypeDoc](http://getsentry.github.io/sentry-javascript/)

Expand All @@ -23,6 +24,10 @@ To use this SDK, call `Sentry.init(options)` as early as possible in the main en
hook into the environment. Note that you can turn off almost all side effects using the respective options.

```javascript
// Import from the Deno registry
import * as Sentry from "https://deno.land/x/sentry/index.mjs";

// or import from npm registry
import * as Sentry from 'npm:@sentry/deno';

Sentry.init({
Expand All @@ -31,7 +36,7 @@ Sentry.init({
});
```

To set context information or send manual events, use the exported functions of `@sentry/deno`. Note that these
To set context information or send manual events, use the exported functions of the Deno SDK. Note that these
functions will not perform any action before you have called `init()`:

```javascript
Expand Down

0 comments on commit 7bb2161

Please sign in to comment.