lib/middleware/courier.js
function Courier(opts) {
  stream.Transform.call(this, { objectMode: true });

  this.options = merge(Object.create(Courier.DEFAULTS), opts || {});
}
function Courier(opts) {
  stream.Transform.call(this, { objectMode: true });

  this.options = merge(Object.create(Courier.DEFAULTS), opts || {});
}
function Courier ( opts ) { stream . Transform . call ( this , { objectMode : true } ) ; this . options = merge ( Object . create ( Courier . DEFAULTS ) , opts || { } ) ; }
JSON parsing middleware designed for easy message routing
@constructor
@param {object} options
JSON parsing middleware designed for easy message routing