Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/webextensions/local-ip-addresses-and-hostnames
Get local IP addresses and hostnames
https://github.com/webextensions/local-ip-addresses-and-hostnames
Last synced: about 2 months ago
JSON representation
Get local IP addresses and hostnames
- Host: GitHub
- URL: https://github.com/webextensions/local-ip-addresses-and-hostnames
- Owner: webextensions
- License: mit
- Created: 2018-04-05T03:47:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-05T23:48:13.000Z (about 1 year ago)
- Last Synced: 2024-11-10T16:53:31.246Z (about 2 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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']```