ipv4 to int32 js code example Example: ipv4 to int32 js const ipToInt32 = (ip) => ip.split`.`.reduce((r, e) => r * 256 + +e);