Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 780 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 780 Bytes

vlsmcalc

NPM downloads Build Status Coverage Status

Lib to calc Variable Length Subnet Masking

Install

npm install vlsmcalc

Usage

new vlsmcalc(a, b) where, a=subnet size array, b=major network

var vlsmcalc = require("vlsmcalc")

var subnet = new vlsmcalc([20, 30], '192.168.1.0/24')