Find a suitable IP host to view local websites on.
Install it globally to use on the command line:
sudo npm install -g dev-ip
then run:
dev-ip
npm install dev-ip
var dev_ip = require('dev-ip');
dev_ip.getIp(); // "192.168.1.76" or false if nothing found (ie, offline user)var dev_ip = require('dev-ip');
dev_ip.getIp(null, { full: true }); // eg: { name: "en0", ip: "10.104.103.181", address: { ..., address: "10.104.103.181", ... }var dev_ip = require('dev-ip');
dev_ip.getIp(null, { dev: [ "en0", "en1" ] });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.
(Nothing yet)
Copyright (c) 2013 Shane Osbourne Licensed under the MIT license.
