osc-js is an Open Sound Control library for Node.js, Electron, Chrome Apps, Webpages or any other JS application. Features address pattern matching and timetag handling. Sends messages via UDP, WebSocket or both (bridge mode) and offers a Plugin API for custom networking solutions.

Sourcecode

https://github.com/adzialocha/osc-js

https://www.npmjs.com/package/osc-js
https://doc.esdoc.org/github.com/adzialocha/osc-js/