This is a collection of Comunica package generators that can be used for creating new Comunica packages.
Learn more about modifying Comunica.
Comunica requires Node.JS 14.0 or higher and is tested on OSX and Linux.
- Make sure
yo
is globally installed:npm install -g yo
- Clone this repository:
git clone git@github.com:comunica/generate-comunica.git
- Run
npm install
in the cloned directory. - Run
npm link
in this directory for installing this generator.
Running yo comunica:actor
or yo comunica:actor --name my-name --bus bus-name
will create a new actor package.
Running yo comunica:actor-query-operation
or yo comunica:actor-query-operation operation-name
will create a new query operation actor package.
Running yo comunica:bus
or yo comunica:bus --name my-name
will create a new bus package.
Running yo comunica:mediator
or yo comunica:mediator --name my-name
will create a new mediator package.
This code is copyrighted by the Comunica Association and Ghent University β imec and released under the MIT license.