0.3.0 • Published 8 years ago

seneca-external-ip-check v0.3.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

seneca-external-ip-check

npm Travis codecov

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.