mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-11 05:11:40 +00:00
update
This commit is contained in:
32
node_modules/dev-ip/README.md
generated
vendored
Normal file
32
node_modules/dev-ip/README.md
generated
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
# dev-ip [](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:
|
||||
|
||||
`sudo 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" 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.
|
Reference in New Issue
Block a user