UNPKG

happn-3

Version:

pub/sub api as a service using primus and mongo & redis or nedb, can work as cluster, single process or embedded using nedb

11 lines (8 loc) 246 B
function PublisherConfig() {} PublisherConfig.prototype.setProperty = function(recipient, name, value) { Object.defineProperty(recipient, name, { value: value, writable: true }); }; module.exports = new PublisherConfig();