These instructions specifify how to run Opifex on NodeJS. To run Opifex on Deno see the instructions
Make sure you have NodeJS with a version > 22.6.0 installed if you want to run
Typescript directly. Alternatively there is a version transpiled to Javascript
in the /dist
folder which should work on any supported version of NodeJS.
npx -p @seriousme/opifex demoserver --help
npx @seriousme/opifex mqtt --help
You can use:
npm install @seriousme/opifex
to install Opifex.
Or clone the repository, e.g. using:
git clone https://github.com/seriousme/opifex.git
and then use:
./bin/demoServer.ts --help
./bin/mqtt.ts --help