Bones/node_modules/dev-ip
SOUTHERNCO\x2mjbyrn 7efe7605b8 Template Upload
2017-05-17 13:45:25 -04:00
..
lib Template Upload 2017-05-17 13:45:25 -04:00
test Template Upload 2017-05-17 13:45:25 -04:00
.jshintrc Template Upload 2017-05-17 13:45:25 -04:00
.npmignore Template Upload 2017-05-17 13:45:25 -04:00
.travis.yml Template Upload 2017-05-17 13:45:25 -04:00
example.js Template Upload 2017-05-17 13:45:25 -04:00
LICENSE-MIT Template Upload 2017-05-17 13:45:25 -04:00
package.json Template Upload 2017-05-17 13:45:25 -04:00
README.md Template Upload 2017-05-17 13:45:25 -04: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.