Skip to content

JS client for dev.acmcsuf.com/christmas

License

Notifications You must be signed in to change notification settings

acmCSUFDev/christmas-client-js

Repository files navigation

christmas-client-js

JavaScript client library for christmasd.

Example

See christmas-js-example.

Usage

Important

This library only works with ES Modules. Make sure you have "type": "module" in your package.json.

npm i acmCSUFDev/christmas-client-js#main
import { LEDCanvas } from "christmas-client-js";

const canvas = new LEDCanvas("ws://...");
await canvas.connect();
const canvasInfo = await canvas.canvasInfo();
canvas.draw(canvasInfo, image);

About

JS client for dev.acmcsuf.com/christmas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published