Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shakyShane/dev-ip

Find a suitable IP host to view local websites on
https://github.com/shakyShane/dev-ip

Last synced: 3 months ago
JSON representation

Find a suitable IP host to view local websites on

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.