Opal-Estate-Pro/node_modules/dev-ip
2019-09-13 11:27:52 +07:00
..
lib style Dashboard 2019-09-13 11:27:52 +07:00
test style Dashboard 2019-09-13 11:27:52 +07:00
.jshintrc style Dashboard 2019-09-13 11:27:52 +07:00
.npmignore style Dashboard 2019-09-13 11:27:52 +07:00
.travis.yml style Dashboard 2019-09-13 11:27:52 +07:00
example.js style Dashboard 2019-09-13 11:27:52 +07:00
LICENSE-MIT style Dashboard 2019-09-13 11:27:52 +07:00
package.json style Dashboard 2019-09-13 11:27:52 +07:00
README.md style Dashboard 2019-09-13 11:27:52 +07:00

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:

sudo 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" 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.