subpar

3.0.0 • Public • Published

Subpar

example

const PubSubWorker = require('subpar');

class GitHubWorker extends PubSubWorker {
  handle(message) {

    console.log(message.attributes);
    console.log(message.data);
  }
}

const worker = new GitHubWorker({ topic: 'nodesecurity-github', name: 'nodesecurity-github-client' });
worker.start();
module.exports = worker;

Readme

Keywords

none

Package Sidebar

Install

npm i subpar

Weekly Downloads

0

Version

3.0.0

License

MIT

Last publish

Collaborators

  • nlf