...JavaScript module for calculating optimized subnet masks...
IPSubnetCalculator.calculate(ipStart, ipEnd) Calculates an optimal set of IP masks for the given IP address range. ipStart(string|number) Lowest IP in the range to be calculated in string (123.123.123.0) or numeric (2071689984) format. ...