seneca-external-ip-check
v0.3.0
Published
Seneca plugin to return the external IP of server
Downloads
7
Maintainers
Readme
seneca-external-ip-check
Seneca plugin to return the external IP of server
Requirements
Node.js >= v6
Install
$ npm i seneca seneca-external-ip-check
Usage
require('seneca')()
.use(require('seneca-external-ip-check'), configuration);
configuration
is passed directly to external-ip module, and is entirely optional.
Action Patterns
Get External IP Address
role:external-ip-check
, cmd:get-ip
Returns:
{ip: "<external-ip>"}
License
© 2016 Christopher Hiller. Licensed MIT.