No description
Find a file
2021-01-30 03:36:25 +01:00
src make client socket public 2021-01-30 03:36:25 +01:00
.editorconfig linting, editorconfig 2021-01-23 20:48:42 +01:00
.eslintrc.js linting, editorconfig 2021-01-23 20:48:42 +01:00
.eslintrc.json linting, editorconfig 2021-01-23 20:48:42 +01:00
.gitignore docs 2021-01-23 16:28:49 +01:00
.gitlab-ci.yml fix CI 2021-01-29 20:44:31 +01:00
.npmignore docs 2021-01-23 16:28:49 +01:00
.prettierrc.js linting, editorconfig 2021-01-23 20:48:42 +01:00
package-lock.json hopefully fix npm types 2021-01-29 21:14:56 +01:00
package.json add events to server, add ability to close client and server 2021-01-30 03:28:46 +01:00
README.md update docs & readme 2021-01-29 22:45:01 +01:00
tsconfig.json Initial Commit 2021-01-23 15:43:09 +01:00

ts-osc

An easy to use, Typescript-Native OSC client.

API Docs here

Usage example

import {OSCClient, OSCType, OSCServer} from 'ts-osc';

const client = new OSCClient("localhost", 8000);

client.send('/hello', OSCType.String, "hello");

const server = new OSCServer("0.0.0.0", 8000);

server.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