elide:net

Elide alias for the Node-compatible networking module.

elide:net is an alias for node:net; both imports return the same module object.

import { isIP } from "elide:net";

console.log(isIP("127.0.0.1")); // 4
console.log(isIP("::1")); // 6

Prefer node:net in portable packages. See node:net for the Elide 1.5.0 socket limitations.