Networks.toIntRanges() method
Every stored range as integer pairs, grouped by family.
Signature:
toIntRanges(): NetworksIntRanges;
Returns:
An object with an ipv4 and an ipv6 array; a family with no networks gives an empty array rather than being absent.
Remarks
Decodes both buffers on every call, so treat it as an export path rather than something to use per lookup.
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.