Socket
Socket
Sign inDemoInstall

ip2

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ip2 - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

.travis.yml

25

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc