Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "ip2", | ||
"version": "0.1.0", | ||
"description": "Another ip address & hosts tools", | ||
"version": "0.1.1", | ||
"description": "another ip address & hosts tools", | ||
"main": "index.js", | ||
"bin": { | ||
"ip2": "./bin/ip2" | ||
"ip2": "./bin/ip2.js" | ||
}, | ||
"scripts": { | ||
"test": "test.js" | ||
"test": "make test" | ||
}, | ||
@@ -18,3 +18,6 @@ "repository": { | ||
"ip", | ||
"hosts" | ||
"hosts", | ||
"cli", | ||
"tools", | ||
"google" | ||
], | ||
@@ -26,3 +29,13 @@ "author": "Mark Zhan", | ||
}, | ||
"homepage": "https://github.com/markzhan/ip2" | ||
"homepage": "https://github.com/markzhan/ip2", | ||
"dependencies": { | ||
"commander": "^2.6.0", | ||
"request": "^2.51.0" | ||
}, | ||
"devDependencies": { | ||
"should": "^4.6.1" | ||
}, | ||
"directories": { | ||
"test": "test" | ||
} | ||
} |
# ip2 | ||
[![Build Status](https://api.travis-ci.org/markzhan/ip2.svg)](http://travis-ci.org/markzhan/ip2) | ||
[![NPM Version](http://img.shields.io/npm/v/ip2.svg?style=flat)](https://www.npmjs.org/package/ip2) | ||
[![NPM Downloads](https://img.shields.io/npm/dm/ip2.svg?style=flat)](https://www.npmjs.org/package/ip2) | ||
Another ip address & hosts tools | ||
## Install | ||
## Installation | ||
``` | ||
$ npm install -g ip2 | ||
``` | ||
## Usage | ||
@@ -22,5 +28,9 @@ ``` | ||
-h, --help output usage information | ||
-V, --version output the version number | ||
-h, --help output usage information | ||
-V, --version output the version number | ||
-v, --version get version | ||
-l, --local output local ip | ||
-i, --internet output internet ip | ||
``` | ||
## Hosts file | ||
@@ -34,5 +44,6 @@ | ||
$ ip2 use google | ||
$ ip2 use markzhan | ||
``` | ||
## License | ||
MIT | ||
This project is available under the MIT license. See LICENSE for details. |
Sorry, the diff of this file is not supported yet
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
5898
13
69
48
2
1
+ Addedcommander@^2.6.0
+ Addedrequest@^2.51.0
+ Addedajv@6.12.6(transitive)
+ Addedasn1@0.2.6(transitive)
+ Addedassert-plus@1.0.0(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedaws4@1.13.2(transitive)
+ Addedbcrypt-pbkdf@1.0.2(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedcore-util-is@1.0.2(transitive)
+ Addeddashdash@1.14.1(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedecc-jsbn@0.1.2(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedextsprintf@1.3.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedforever-agent@0.6.1(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedgetpass@0.1.7(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addedjsbn@0.1.1(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjsprim@1.4.2(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedpsl@1.9.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedqs@6.5.3(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsshpk@1.18.0(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedtweetnacl@0.14.5(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedverror@1.10.0(transitive)