net-address
    Preparing search index...

    Module net-address

    net-address

    npm i net-address @luolapeikko/result-option
    
    const addrResult = Ipv4Addr.from("192.168.0.1"); // Returns a CoreResult<Ipv4Addr, TypeError>
    const addr = Ipv4Addr.fromOrThrow("192.168.0.1");
    const addr = new Ipv4Addr(192, 168, 0, 1);
    if (addr.isPrivate()) {
    //
    }
    if (addr.isGlobal()) {
    //
    }
    Ipv4Addr
    Ipv4Net
    Ipv6Addr
    Ipv6Net