senecajs/seneca

View on GitHub
docs/examples/write-a-plugin/mercury-plugin.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = function mercury(options) {
  this.add('say:hello', function (msg, reply) {
    reply({ hello: 'world' })
  })
}