subnet-overlap
1.0.0 • Public • Published subnet-overlap
Node.js
Install
const subnetOverlap = require('subnet-overlap')
Example
subnetOverlap(['172.22.2.0/24'], '172.22.2.0/24')
subnetOverlap(['172.22.2.0/24'], '172.22.3.0/24')
Browser
Example
<script src="subnetOverlap.js"></script>
<script>
console.log(subnetOverlap(['172.22.2.0/24'], '172.22.2.0/24'))
</script>
subnetOverlap
subnetOverlap(subnets, subnet)
subnets
: (Array) List of existing subnets
subnet
: (String) Subnet to check for overlap
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
1.0.0 | 324 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
1.0.0 | 324 | |
Package Sidebar
Install
Weekly Downloads