Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shakyshane/dev-ip
Find a suitable IP host to view local websites on
https://github.com/shakyshane/dev-ip
Last synced: 6 days ago
JSON representation
Find a suitable IP host to view local websites on
- Host: GitHub
- URL: https://github.com/shakyshane/dev-ip
- Owner: shakyShane
- License: mit
- Created: 2013-10-23T12:48:56.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-07-29T16:27:21.000Z (over 4 years ago)
- Last Synced: 2024-12-21T21:07:08.773Z (13 days ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 121
- Watchers: 6
- Forks: 13
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# dev-ip [![Build Status](https://travis-ci.org/shakyShane/dev-ip.png?branch=master)](https://travis-ci.org/shakyShane/dev-ip)
Find a suitable IP host to view local websites on.
## Command line
Install it globally to use on the command line (use `sudo` only if necessary):`npm install -g dev-ip`
then run:
`dev-ip`
> "http://192.168.1.46"
## In your project
`npm install dev-ip````javascript
var devip = require('dev-ip');
devip(); // [ "192.168.1.76", "192.168.1.80" ] 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.