
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
coconspirators
Advanced tools
coconspirators is a microservice framework for RabbitMQ written in TypeScript. Under the hood it uses amqp.node, the battle-tested AMQP client, to communicate with RabbitMQ and has best-practices baked in. Features include:
npm i coconspirators --S
npm run build
import { Queue, AmqpQueue, AmqpClient } from 'coconspirators';
export class AmqpServer {
connection: Promise<any>;
constructor(public client: AmqpClient, logger: Logger) {
this.connection = this.client.connect();
client.on('connected', () => console.log('connected!'));
client.on('disconnected', () => console.log('disconnected!'));
}
}
interface ZooMessage {
animal: string;
}
@Queue({
name: 'health'
contentType: 'application/json'
})
export class HealthQueue extends AmqpQueue<ZooMessage> {
constructor(client: AmqpClient) { super(client); }
}
export class HealthChecker {
constructor(queue: HealthQueue) {
this.queue.publish({ hi: true });
this.queue.subscribe((message: ZooMessage) => {
console.log('message', message);
})
}
}
coconspirators
is a Swimlane open-source project; we believe in giving back to the open-source community by sharing some of the projects we build for our application. Swimlane is an automated cyber security operations and incident response platform that enables cyber security teams to leverage threat intelligence, speed up incident response and automate security operations.
FAQs
RabbitMQ Message Bus Library for TypeScript
The npm package coconspirators receives a total of 6 weekly downloads. As such, coconspirators popularity was classified as not popular.
We found that coconspirators demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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 Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.