Skip to content

Commit 5a260d0

Browse files
committed
Add npm instructions
1 parent e80aeae commit 5a260d0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,17 @@ Open the page that you instrumented, open the Devtools console and enter the fol
5050

5151
## Setup for JavaScript
5252

53+
### Download the module
54+
55+
We recommend using npm: `npm install stackdriver-errors-js --save`.
56+
5357
### Initialization
5458

5559
Here are all the initialization options available:
5660

5761
```HTML
5862
<!-- Warning: This is an experimental library -->
59-
<script src="https://cdn.rawgit.com/GoogleCloudPlatform/stackdriver-errors-js/v0.0.7/dist/stackdriver-errors-concat.min.js"></script>
63+
<script src="node_modules/stackdriver-errors-js/dist/stackdriver-errors-concat.min.js"></script>
6064
<script type="text/javascript">
6165
var errorHandler = new StackdriverErrorReporter();
6266
errorHandler.start({

0 commit comments

Comments
 (0)