About TypeScript bricks
TypeScript scripting bricks give you access to Deno's extensive list of third-party modules and allow you to process your messages with only a few lines of code. We use Deno for our TypeScript bricks, which is a secure Runtime for JavaScript and TypeScript.
Configuring a TypeScript brick#
TypeScript bricks have the following configuration parameters:
| Parameter | Description |
|---|---|
Script | You can add and edit your TypeScript script in this field |
Script (URL) | Alternatively you can put a link to a gist of your script in this field |
TypeScript scripting bricks can be used for all brick types (source, transform, and action).
| Name | Brick Type |
|---|---|
typescript-source-ng | Source |
typescript-transform-ng | Transform |
typescript-action-ng | Action |
TypeScript example#
typescript-transform