toolbag-plugin-udp-reporter
v1.0.0
Published
preloaded Node.js tooling enhancements
Downloads
5
Maintainers
Readme
toolbag-plugin-udp-reporter
Toolbag reporter over UDP.
Supported Parameters
port
- The remote port to report to. Required.host
- The remote host to report to. Required.socketType
- The type of socket to report over. Defaults to'udp4'
.
Example Configuration
Add toolbag-plugin-udp-reporter
to your package.json
. Configure the plugin in .toolbagrc.js
as shown below.
'use strict';
const UdpReporter = require('toolbag-plugin-udp-reporter');
module.exports = function config (defaults, callback) {
callback(null, {
plugins: [
{
plugin: UdpReporter,
options: {
id: 'udp reporter',
socketType: 'udp4',
port: 5001,
host: 'localhost'
}
}
]
});
};