title: How to know network mask in node.js?
body: <p>I'm developing a tool for networking and I don't know how to get the network mask of the computer that executes the program. I know I can get the IP by OS library, but I don't know how I could know the mask, Can you help me? </p>
  
  <p>Thank you in advance!</p>
  
  <p>EDIT: I'm using 0.10.* version... I know  there's in 0.11.11 version the option "netmask" on require('os').networkInterfaces(). But I have to use 0.10.* version.</p>