ts-osc/README.md
2021-01-23 15:43:09 +01:00

321 B

ts-osc

An easy to use, Typescript-Native OSC client.

Usage example

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);
})