Skip to content

nodesecurity/subpar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published