Socket
Socket
Sign inDemoInstall

antenna

Package Overview
Dependencies
5
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    antenna

Ubiquitous message bus for Node.js.


Version published
Weekly downloads
3
Maintainers
1
Install size
35.4 kB
Created
Weekly downloads
 

Readme

Source

antenna

Build Coverage Quality Dependencies Tips

Antenna is a publish/subscribe middleware layer for Node. Applications can be constructed by using middleware and defining routes.

This architecture has been proven effective by Express, which provides HTTP middleware. Antenna adopts this approach, repurposing it for use with a message bus, allowing listeners to be built quickly and easily, using patterns familiar to Node.js developers.

Install

$ npm install antenna

Usage

var antenna = require('antenna');
var app = antenna();

app.listen('events/:event', function(msg, next) {
  console.log('got event: ' + msg.params.event);
});

Adapters

Adapters are used to connect to message buses, receiving messages and dispatching those messages to the application for processing.

The following table lists commonly used adapters:

AdapterDeveloper
AMQPJared Hanson

Tests

$ npm install
$ make test

Credits

License

The MIT License

Copyright (c) 2014 Jared Hanson <http://jaredhanson.net/>

Keywords

FAQs

Last updated on 02 Apr 2014

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc