mirror of
https://github.com/scottbez1/smartknob.git
synced 2025-11-04 17:19:40 +08:00
- reworked smartknobjs into separate smartknobjs-node and smartknobjs-webserial packages - configured CI to build and deploy webserial example to https://scottbez1.github.io/smartknob/ |
||
|---|---|---|
| .. | ||
| packages | ||
| .gitignore | ||
| .npmrc | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Typescript SmartKnob protobuf interface library and examples
Requirements (nvm is recommended)
- node >= 18.11.0
- npm >= 8.19.2
Setup
npm ci
npm run build
Example
A basic Node.js CLI example. Connect the SmartKnob via USB, then run the example:
npm run example