@comunica/actor-init-hello-world

A Hello World Comunica engine

Usage no npm install needed!

<script type="module">
  import comunicaActorInitHelloWorld from 'https://cdn.skypack.dev/@comunica/actor-init-hello-world';
</script>

README

Comunica Hello World

npm version

An example Hello World init actor for Comunica.

This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.

Click here if you just want to query with Comunica.

Install

$ yarn add @comunica/actor-init-hello-world

Usage

The config/config-example.json contains an example on how to run the Hello World actor, which will trigger on the Runner's 'init' event.

As defined by components/ActorInitHelloWorld, the actor allows the 'hello' parameter to be changed, and defaults to 'Hello'.

When executed, the actor will print the 'hello' parameter value to the console, followed by all command line parameters.

Executing the following:

$ node bin/run.js Desmond Hume

will print Hi Desmond Hume.