Skip to content

Commit 2aae895

Browse files
dlepauxHazAT
authored andcommitted
Update README.md (#1724)
1 parent 5e8f95f commit 2aae895

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/node/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ To use this SDK, call `init(options)` as early as possible in the main entry mod
2323
hook into the environment. Note that you can turn off almost all side effects using the respective options.
2424

2525
```javascript
26+
// ES5 Syntax
2627
const Sentry = require('@sentry/node');
28+
// ES6 Syntax
29+
import * as Sentry from '@sentry/node';
2730

2831
Sentry.init({
2932
dsn: '__DSN__',

0 commit comments

Comments
 (0)