
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
API-First Transport Control Protocol (TCP) stack for Internet of Things (IoT), based on Internet of Protocols Alliance (IOPA) specification

iopa-tcp is an API-First Transport Control Protocol (TCP) stack for the Internet of Things (IoT), based on the Internet of Protocols Alliance (IOPA) specification
It servers TCP messages in standard IOPA format and allows existing middleware for Connect, Express and limerun projects to consume/send each mesage.
It is an open-source, standards-based, lighter-weight replacement for other TCP clients and brokers
Written in plain javascript for maximum portability to constrained devices, and consumes the standard node.js require('net') library
Makes TCP connections look to an application like a standard Request Response REST (HTTP-style) message so little or no application changes required to support multiple REST protocols on top of this transport.
Fully working prototype include server and client.
Includes:
npm install iopa-tcp
npm run typings
const iopa = require('iopa')
, tcp = require('iopa-tcp')
var app = new iopa.App();
app.use(tcp);
app.use(function (context, next) {
context["server.RawStream"].pipe(process.stdout);
return next();
});
if (!process.env.PORT)
process.env.PORT = 1883;
app.createServer("tcp:", { port: process.env.PORT, address: process.env.IP })
.then(function (server) {
return server.connect("mqtt://127.0.0.1");
})
.then(function (client) {
client["server.RawStream"].write("Hello World\n");
});
})
FAQs
API-First Transport Control Protocol (TCP) stack for Internet of Things (IoT), based on Internet of Protocols Alliance (IOPA) specification
The npm package iopa-tcp receives a total of 13 weekly downloads. As such, iopa-tcp popularity was classified as not popular.
We found that iopa-tcp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.