Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "canihazip", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Get public IP using canihazip.com.", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -8,9 +8,18 @@ # [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] | ||
### To use it as a node module: | ||
```sh | ||
$ npm install --save canihazip | ||
npm install --save canihazip | ||
``` | ||
#### Or to use it as CLI: | ||
```sh | ||
npm install --global canihazip | ||
``` | ||
## Usage | ||
### As a node module: | ||
```js | ||
@@ -22,9 +31,11 @@ var canihazip = require('canihazip'); | ||
#### As CLI: | ||
```sh | ||
$ npm install --global canihazip | ||
$ canihazip | ||
8.8.8.8 | ||
canihazip | ||
``` | ||
This will return IP of the current machine, for example: `8.8.8.8`. | ||
## License | ||
@@ -31,0 +42,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5725
50