Simple Sequence that prints out 'Hello World!' to the Instance output.


  • Name: @scramjet/hello-world-ts
  • Version: 1.0.0
  • Language: typescript
  • Author: piotrek6641
  • Tags: sample,easy,streaming,Data Producer

Simple sequence that outputs "Hello world" written in typescript.


❗ Remember to setup transform-hub locally or use the platform's environment for the sequence deployment.

Open two terminals and run the following commands:

The first terminal:

# install dependencies npm install # transpile TS->JS to dist/ npm run build # make a compressed package with Sequence si seq pack dist # send Sequence to transform hub, this will output Sequence ID si seq send dist.tar.gz # start a Sequence si seq start -

The second terminal

Read the Instance output:

si inst output -

You should see "Hello World!" printed out in the terminal.