Skip to content

Commit 1e628ac

Browse files
committed
Add documentation
1 parent 83d0a0c commit 1e628ac

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ server metrics for Nest.js based node servers.
1818

1919
Demo can be found [here](https://nest-status-monitor.herokuapp.com/status)
2020

21-
## Installation & setup
21+
## Installation & setup Nest.js v6
2222

2323
1. Run `npm install nest-status-monitor --save`
2424
2. Setup module:
@@ -30,6 +30,18 @@ Demo can be found [here](https://nest-status-monitor.herokuapp.com/status)
3030
3131
3. Run server and go to `/status`
3232
33+
## Installation & setup Nest.js v5
34+
35+
1. Run `npm install nest-status-monitor@0.0.3 --save`
36+
2. Setup module:
37+
38+
```javascript
39+
@Module({
40+
imports: [StatusMonitorModule.setUp(statusMonitorConfig)],
41+
```
42+
43+
3. Run server and go to `/status`
44+
3345
## Run examples
3446
3547
1. Go to `cd examples/test-status-monitor`

0 commit comments

Comments
 (0)