Skip to content

JavaScript example to interact with christmasd

License

Notifications You must be signed in to change notification settings

acmCSUFDev/christmas-js-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

christmas-js-example

JavaScript example to interact with christmasd using christmas-client-js.

Examples

See the src directory for examples.

Before running any of the examples, make sure to install the dependencies:

npm i

Then, in each example file (e.g. draw-image.js), you must change the url variable to point to your instance. For example, if blinktest says:

Point your script to ws://localhost:9001/ws/018c34b9-2130-7d83-966a-2a93ac5bcd05

Then, you would change the url variable to:

const url = "ws://localhost:9001/ws/018c34b9-2130-7d83-966a-2a93ac5bcd05";

Then, run the example:

node src/draw-image.js

About

JavaScript example to interact with christmasd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published