
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
A STOMP client library for Node.js that is fully compatible with STOMP 1.0, 1.1 and 1.2 servers. The library provides optional fault tolerance features such as multiple server failover and persistent subscriptions and message publishing across failu

This package is created from the pull request, https://github.com/gdaws/stompit/pull/102/files
A STOMP client library for Node.js that is fully compatible with STOMP 1.0, 1.1 and 1.2 servers. The library provides optional fault tolerance features such as multiple server failover and persistent subscriptions and message publishing across failure events. The API is designed to be consistent with idiomatic Node.js code. Messages are stream oriented. The client supports any stream.Duplex transport, such as for example tls.TLSSocket.
An example of sending and receiving a message using the client API:
const stompit = require('stompit');
const connectOptions = {
'host': 'localhost',
'port': 61613,
'connectHeaders':{
'host': '/',
'login': 'username',
'passcode': 'password',
'heart-beat': '5000,5000'
}
};
stompit.connect(connectOptions, function(error, client) {
if (error) {
console.log('connect error ' + error.message);
return;
}
const sendHeaders = {
'destination': '/queue/test',
'content-type': 'text/plain'
};
const frame = client.send(sendHeaders);
frame.write('hello');
frame.end();
const subscribeHeaders = {
'destination': '/queue/test',
'ack': 'client-individual'
};
client.subscribe(subscribeHeaders, function(error, message) {
if (error) {
console.log('subscribe error ' + error.message);
return;
}
message.readString('utf-8', function(error, body) {
if (error) {
console.log('read message error ' + error.message);
return;
}
console.log('received message: ' + body);
client.ack(message);
client.disconnect();
});
});
});
npm install --save stompit
FAQs
A STOMP client library for Node.js that is fully compatible with STOMP 1.0, 1.1 and 1.2 servers. The library provides optional fault tolerance features such as multiple server failover and persistent subscriptions and message publishing across failu
The npm package ef-stompit receives a total of 0 weekly downloads. As such, ef-stompit popularity was classified as not popular.
We found that ef-stompit 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.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.