Skip to content

FabLabCastelfrancoVeneto/timing-provider-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

timing-provider-server

A command line tool to spin up a server which can be used with the timing-provider.

dependencies version

This command line tool spins up a server which can be used as the signaling server for the timing-provider.

Usage

The timing-provider-server package is published on npm. It can be installed like this:

npm install timing-provider-server

Afterwards the server can be started by executing the following command:

timing-provider-server

It is also possible to execute the command above without installing a local version of this package like this:

npx timing-provider-server

Once the server is up and running it can be used when creating a new TimingProvider.

const timingProvider = new TimingProvider('ws://localhost:2276');

Arguments

--port

This option can be used to specify the port to which the server is listening. If this argument is not used 2276 will be used as the default port.

timing-provider-server --port 4567

About

A command line tool to spin up a server which can be used with the timing-provider.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.8%
  • Shell 7.0%
  • TypeScript 3.2%