node_pepper
v1.0.6
Published
broadcasts the results of an executed command over the local network
Downloads
4
Maintainers
Readme
node_pepper
Descripton
Executes a command and sends broadcast the results over the local IPv4 network.
Example 1
Minimal working example:
Send uptime
result to default address 255.255.255.255
and port 8888
.
Example 2
Send results of your command line
arguments.
Here we specify the optional parameters:
- broadcast address
192.1680.255
- port
8889
- prefixing the result with
[sender_hostname]:
Receiving
Use node_sniffandsneeze to sniff
the pepper
and sneeze
these results somewhere else.
Change log
replace prefix by pre-process callback, default return same