biofriction-wp-theme/node_modules/dev-ip
jorge-vitrubio a7910c81a8 moved to new repo 2021-10-26 14:18:09 +02:00
..
lib moved to new repo 2021-10-26 14:18:09 +02:00
test moved to new repo 2021-10-26 14:18:09 +02:00
.jshintrc moved to new repo 2021-10-26 14:18:09 +02:00
.npmignore moved to new repo 2021-10-26 14:18:09 +02:00
.travis.yml moved to new repo 2021-10-26 14:18:09 +02:00
LICENSE-MIT moved to new repo 2021-10-26 14:18:09 +02:00
README.md moved to new repo 2021-10-26 14:18:09 +02:00
example.js moved to new repo 2021-10-26 14:18:09 +02:00
package.json moved to new repo 2021-10-26 14:18:09 +02:00

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.