@theworker02/cidrhas · JSR · 1.1.0
Runtime-neutral IPv4 CIDR parsing and containment utilities.
Test membership, inspect network boundaries, enumerate bounded ranges, and batch-check addresses.
Canonical package: @theworker02/cidrhas
import { cidrHas, explain } from "@theworker02/cidrhas";
console.log(cidrHas("10.0.0.5", "10.0.0.0/8"));
console.log(explain("10.0.0.5", "10.0.0.0/8"));