Skip to content

SergeyChaplinskiy/ip_address_info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi, friend! 👋

I created my own module so that you can find out the ip addresses of connected network devices and their name

Installation

To install, type the following command in the terminal:

npm install ip_address_info

Usage

Just import and run the code by writing in the terminal node mainFileName.js.

const getIpInfo = require('ip_address_info');

to see the public or private ip, just call the method.

getIpInfo.getExternalIp();
getIpInfo.getInternalIp();

Thanks. 😏

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published