Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
rpm-mcarman b9f7ec4306 First Commit 3 lat temu
..
lib First Commit 3 lat temu
test First Commit 3 lat temu
.DS_Store First Commit 3 lat temu
.jshintrc First Commit 3 lat temu
.npmignore First Commit 3 lat temu
.travis.yml First Commit 3 lat temu
LICENSE-MIT First Commit 3 lat temu
README.md First Commit 3 lat temu
example.js First Commit 3 lat temu
package.json First Commit 3 lat temu

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.