lib/pub-sub.js
function PubSub(name, options) {
    EventEmitter.call(this);
    this.name = name;
    this.topics = {};
    this.options = options || {
        strict: true
    };
}
function PubSub(name, options) {
    EventEmitter.call(this);
    this.name = name;
    this.topics = {};
    this.options = options || {
        strict: true
    };
}
Subscription manager