nó js Get IPv4 IP

var os = require('os');

var networkInterfaces = os.networkInterfaces();

console.log(networkInterfaces);
Tomer Mantzuri