Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 333 Bytes

File metadata and controls

15 lines (11 loc) · 333 Bytes

Typescript structured-messaging Examples

To run the examples:

$ cd examples/typescript
$ yarn
$ npx ts-node <example>.ts
# if you have jq installed
$ npx ts-node <example>.ts | jq

Examples:

  • counter.example.ts: Counts the number of messages that have been logged: displaying the count value in the log message.