dev-ip
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/dev-ip package

1.0.1 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    778,416
    • latest

Version History

Package Sidebar

Install

npm i dev-ip

Weekly Downloads

780,820

Version

1.0.1

License

none

Last publish

Collaborators

  • shakyshane