Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 846 Bytes

README.md

File metadata and controls

48 lines (32 loc) · 846 Bytes

Running Opifex server/client on NodeJS

These instructions specifify how to run Opifex on NodeJS. To run Opifex on Deno see the instructions

Playing around

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.

Server

npx -p @seriousme/opifex demoserver --help

Client

npx @seriousme/opifex mqtt --help

Local deployment

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