Skip to content

Commit d809067

Browse files
committed
add Readme
1 parent 62efa59 commit d809067

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

Readme.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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": {

0 commit comments

Comments
 (0)