No description
| src | ||
| .editorconfig | ||
| .eslintrc.js | ||
| .eslintrc.json | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .npmignore | ||
| .prettierrc.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
ts-osc
An easy to use, Typescript-Native OSC client.
API Docs here
Usage example
import {OSCClient, OSCType} from 'ts-osc';
const client = new OSCClient({
outHost: "localhost",
outPort: 8000,
inPort: 8000
})
client.send('/hello', OSCType.String, "hello");
client.on('message', (msg)=>{
console.log(msg);
})
NPM Scripts
| Tasks | Description |
|---|---|
| npm run build | Build module & docs |
| npm run compile | Compile TS |
| npm run watch | Compile and watch |
| npm run clean | Clean build folder |
| npm run docs | generate docs |