Initial Commit
This commit is contained in:
commit
4c5d981e7f
9 changed files with 382 additions and 0 deletions
19
README.md
Normal file
19
README.md
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# ts-osc
|
||||
An easy to use, Typescript-Native OSC client.
|
||||
|
||||
## Usage example
|
||||
```javascript
|
||||
import {OSCClient} from 'ts-osc';
|
||||
|
||||
const client = new OSCClient({
|
||||
outHost: "localhost",
|
||||
outPort: 8000,
|
||||
inPort: 8000
|
||||
})
|
||||
|
||||
client.send('/hello', "string", "hello");
|
||||
|
||||
client.on('message', (msg)=>{
|
||||
console.log(msg);
|
||||
})
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue