Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mylip

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mylip

A simple cli tool for getting your IPv4 address on your local network.

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

MyLIp (My Local IP)

MyLIp is a simple command line tool for getting your IPv4 address on your local network.

Usage

Install globally.

npm i -g mylip

After installing, simply run mylip from the command line and you'll see your local IPv4 address printed in the terminal.

Flags

  • mylip -m Return multiple matching IP addresses (if found).
  • mylip -r Returns the IP address without the trailing new line character. Great for piping the address via the command line. For example, on Mac to copy the IP address to the clipboard, you can run mylip -r | pbcopy.

Release notes

  • 0.2.1 (2020-07-22) - Introduced flags.

  • 0.2.0 (2020-07-22) - I was getting inconsistent results with the tool, and so I look into a different way of grabbing the local IP address. I came across this Stack Overflow post and mostly copied it verbatim. It should now work more consistently across platforms and return the correct local IP address.

Keywords

FAQs

Package last updated on 22 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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