
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
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 121 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.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.