npm install subnet-info
var SubnetInfo = require('subnet-info');
var subnetinfo = new SubnetInfo('192.168.10.50/24');See the example code
IP address and subnet mask must be provided in CIDR Notation. Currently only supports IPv4 addresses.
| Name | Name | Last commit date | ||
|---|---|---|---|---|
npm install subnet-info
var SubnetInfo = require('subnet-info');
var subnetinfo = new SubnetInfo('192.168.10.50/24');See the example code
IP address and subnet mask must be provided in CIDR Notation. Currently only supports IPv4 addresses.