IPv4 para INT32 JS

const ipToInt32 = (ip) => ip.split`.`.reduce((r, e) => r * 256 + +e);
Fylls