@comunica/actor-init-hello-world
TypeScript icon, indicating that this package has built-in type declarations

1.22.0 • Public • Published

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.

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @comunica/actor-init-hello-world

    Weekly Downloads

    1

    Version

    1.22.0

    License

    MIT

    Unpacked Size

    9.04 kB

    Total Files

    13

    Last publish

    Collaborators

    • jeswr
    • joachimvh
    • rubensworks
    • rubenverborgh
    • dexagod