jack e1a2621c78 update 2 anos atrás
..
lib e1a2621c78 update 2 anos atrás
test e1a2621c78 update 2 anos atrás
.jshintrc e1a2621c78 update 2 anos atrás
.npmignore e1a2621c78 update 2 anos atrás
.travis.yml e1a2621c78 update 2 anos atrás
LICENSE-MIT e1a2621c78 update 2 anos atrás
README.md e1a2621c78 update 2 anos atrás
example.js e1a2621c78 update 2 anos atrás
package.json e1a2621c78 update 2 anos atrás

README.md

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.