@imqueueRPC enqueued!
intro docs blog
commercial ↗ $ npm i -g @imqueue/cli
intro docs blog commercial ↗
theme
$ npm i -g @imqueue/cli
@imqueue/net v3.0.2 · API reference
Classes
NetworkList Networks
Enumerations
NetworkType
Functions
binToDec(binStr) cidrToRange(cidr, type, canonical) cidrToRangeInt(cidr, type) getType(ip, type) intRangeToCidr(start, end, type, canonical) intToIp(intIp, type, canonical) ipToInt(ip, type) ipv6Pack(ip) ipv6Unpack(ip) isValid(ip) isValid4(ip) isValid6(ip) masksOf(type) rangeToCidr(start, end, type, canonical) sizeOf(type) toBigIntLE(buf) toBinaryList(networks, type) toBufferLE(value, size) toIntArray(list, type) toStringArray(list, type, canonical) validate(ip) validate4(ip) validate6(ip)
Interfaces
NetworksIntRanges
Variables
IPV4_INT_SIZE IPV4_MASKS IPv4_MAX_STR_LEN IPV6_INT_SIZE IPV6_MASKS IPV6_MAX_STR_LEN NETWORK_TYPE_ENUM
Home/API reference/@imqueue/net/Networks/ipv4

Networks.ipv4 property

The IPv4 networks, as a NetworkList — reachable as .ipv4.

Signature:

readonly [NetworkType.IPV4]: NetworkList;

Remarks

Left unset when the set has no IPv4 networks, despite the non-null assertion in its declaration, so check it before use. Networks.includes() already does. Its NetworkList.networks buffer is what the constructor's first argument accepts back.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.

@imqueue

RPC over an inter-communication messaging queue. For TypeScript & NodeJS back-ends. Friendly to AI assistants.

Docs

Get started Tutorial CLI API MCP

Packages

@imqueue/cli ↗ @imqueue/rpc ↗ @imqueue/core ↗ @imqueue/mcp ↗ Other ↗

Project

GitHub ↗ Sandbox ↗ Contributing License Commercial ↗

Legal

Privacy Policy Terms Of UseSupport ContactCookie settings
@imqueue open source · GPL-3.0 Need a commercial license? imqueue.com ↗

Cookies We'd like to measure how these docs are used. Nothing runs and nothing is stored unless you allow it, you can change your mind any time, and we never sell or share your data. Privacy · Terms · Support