is-ip
Check if a string is an IP address
@esm2cjs/is-ip
Check if a string is an IP address. This is a fork of sindresorhus/is-ip, but with CommonJS support.
ip-filter
Validates given IPs (IPv4 and IPv6) using [micromatch][] - glob patterns, RegExp, string or array of globs. If match returns the IP, otherwise null.