Skip to content

Commit cae8006

Browse files
authored
Add Dapr NodeJS module (#161)
1 parent f268adc commit cae8006

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

modules/dapr/index.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ docs:
1111
maintainer: official
1212
example: |
1313
```java
14-
var dapr = new DaprContainer("daprio/daprd:1.16.0");
14+
var dapr = new DaprContainer("daprio/daprd:1.16.4");
1515
dapr.start();
1616
```
1717
installation: |
@@ -23,6 +23,16 @@ docs:
2323
<scope>test</scope>
2424
</dependency>
2525
```
26+
- id: nodejs
27+
url: https://github.com/dapr/testcontainer-node
28+
maintainer: official
29+
example: |
30+
```javascript
31+
const dapr = await new DaprContainer("daprio/daprd:1.16.4").start();
32+
```
33+
installation: |
34+
```bash
35+
npm install @dapr/testcontainer-node --save-dev
2636
- id: dotnet
2737
url: https://github.com/dapr/dotnet-sdk/tree/master/src/Dapr.Testcontainers
2838
maintainer: community

0 commit comments

Comments
 (0)