Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
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 136 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.