0.0.1 • Published 7 years ago

tibbar-autoack v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Tibbar autoAck

Middleware for Tibbar that automatically acknowledge messages received by a service worker.

NPM Version NPM Downloads Build Coverage Status

Usage

const tibbar = require('tibbar');
const autoAck = require('tibbar-autoack');
const worker = tibbar().worker;

worker.use(autoAck);

worker.accept('/', (req, res) => {
  res.send('Hello, world!');
});
worker.connect('amqp://localhost');

License

MIT