dev-ip

Find a suitable IP host to view local websites on.

10 个版本
安装
npm install dev-ip
yarn add dev-ip
pnpm add dev-ip
bun add dev-ip
README

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.

版本列表
1.0.1 2015-01-03
1.0.0 2015-01-03
0.1.7 2014-02-14
0.1.6 2013-10-24
0.1.5 2013-10-23
0.1.4 2013-10-23
0.1.3 2013-10-23
0.1.2 2013-10-23
0.1.1 2013-10-23
0.1.0 2013-10-23