local-ip-addresses-and-hostnames
v0.2.0
Published
Get local IP addresses and hostnames
Downloads
80
Readme
local-ip-addresses-and-hostnames
Get local IP addresses and hostnames
Examples:
getLocalIpAddresses() = ['127.0.0.1', '192.168.1.101', '10.0.0.101']
getLocalHostnames() = ['localhost', 'example.com']
getLocalIpAddressesAndHostnames() = ['127.0.0.1', '192.168.1.101', 'localhost', '10.0.0.101', 'example.com']