# any-ipv4 **Repository Path**: mirrors_WebReflection/any-ipv4 ## Basic Information - **Project Name**: any-ipv4 - **Description**: The easiest way to show an IPv4 address - **Primary Language**: Unknown - **License**: ISC - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-22 - **Last Updated**: 2026-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # any-ipv4 A module that exports an Array of IPv4, non internal, addresses, with a handy `toString()` method that returns its first IP, or `0.0.0.0` if no IPv4 was found. The list of IPs is Wi-Fi first, Ethernet after, which is the most common use case I have for IoT projects and so on. ```js import IPv4 from 'any-ipv4'; import {createServer} from 'http'; createServer(handler).listen(8080, () => { console.log(`http://${IPv4}:8080/`); }); ```