dev-ipaddress
Find a suitable IP host to view local websites on.
Last updated 6 months ago by de__bug .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install dev-ipaddress 
SYNC missed versions from official npm registry.

dev-ip Build Status

Find a suitable IP host to view local websites on.

Command line

Install it globally to use on the command line (use sudo only if necessary):

npm install -g dev-ip

then run:

dev-ip

"http://192.168.1.46"

In your project

npm install dev-ip

var devip = require('dev-ip');
devip(); // [ "192.168.1.76", "192.168.1.80" ] or false if nothing found (ie, offline user)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Run lint & tests with gulp.

Release History

(Nothing yet)

License

Copyright (c) 2013 Shane Osbourne Licensed under the MIT license.

Current Tags

  • 1.0.0                                ...           latest (6 months ago)

1 Versions

  • 1.0.0                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (4)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |