koa-ip

Ip filter middleware for koa, support `whitelist` and `blacklist`.

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.

koa-ip-geo

IP and GeoLocation filter middleware for koa, support allow lists and block lists.

ipaddr.js

A library for manipulating IPv4 and IPv6 addresses in JavaScript.