Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
A very basic OSC client (so far) implementation based heavily on pyOSC.
Install using npm
npm install node-osc
This is an experimental ESM version of node-osc make sure to run node with the --experimental-modules
flag. This version require at minimum Node.js 13.2.0
import { Client } from 'node-osc';
const client = new Client('127.0.0.1', 3333);
client.send('/oscAddress', 200, () => {
client.close();
});
import { Server } from 'node-osc';
var oscServer = new Server(3333, '0.0.0.0');
oscServer.on('message', function (msg) {
console.log(`Message: ${msg}`);
oscServer.close();
});
This just works due to conditional exports, isn't that cool!
const { Client, Server } = require('node-osc');
const client = new Client('127.0.0.1', 3333);
var server = new Server(3333, '0.0.0.0');
server.on('message', function (msg) {
console.log(`Message: ${msg}`);
server.close();
});
client.send('/hello', 'world', (err) => {
if (err) console.error(err);
client.close();
});
LGPL. Please see the file lesser.txt for details.
FAQs
pyOSC inspired library for sending and receiving OSC messages
The npm package node-osc receives a total of 671 weekly downloads. As such, node-osc popularity was classified as not popular.
We found that node-osc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.