You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
7 years ago | |
|---|---|---|
| .. | ||
| lib | 7 years ago | |
| test | 7 years ago | |
| .jshintrc | 7 years ago | |
| .npmignore | 7 years ago | |
| .travis.yml | 7 years ago | |
| LICENSE-MIT | 7 years ago | |
| README.md | 7 years ago | |
| example.js | 7 years ago | |
| package.json | 7 years ago | |
README.md
dev-ip 
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
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.