File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed
Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 1+ # Autodarts Board
2+
3+ A easy-to-use library to interact locally with an [ Autodarts] ( https://autodarts.io ) Board.
4+
5+ ## ✨ Features
6+
7+ - Connects to Autodarts boards over the local network
8+ - Listens for real-time dart throw events
9+ - ability to start and stop the cameras
10+ - and more...
11+
12+ ## 🚀 Example usage
13+
14+ ``` ts
15+ import { AutodartsBoard } from ' autodarts-board'
16+
17+ const board = new AutodartsBoard ({
18+ host: ' 192.168.0.69' ,
19+ })
20+
21+ board .onMessage ((msg ) => {
22+ console .log (msg .data )
23+ })
24+ ```
25+
26+ ## ⚠️ Disclaimer
27+
28+ This library is in no way officially affiliated with or endorsed by Autodarts.
Original file line number Diff line number Diff line change 11{
22 "name" : " autodarts-board" ,
33 "version" : " 0.0.1" ,
4- "description" : " A easy-to-use library to interact locally with Autodarts Board." ,
4+ "description" : " A easy-to-use library to interact locally with an Autodarts Board." ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
77 "scripts" : {
You can’t perform that action at this time.
0 commit comments