Repository navigation
v1.0.0
Major Changes
-
32467ddThanks @ro80t! - Breaking: RenamecheckVpntocheckAnonymityandVpnCheckResulttoAnonymityCheckResult. The function already reported Tor exit node status alongside the VPN/ASN check, which the old name didn't reflect, and more anonymization signals (e.g. proxy detection) are planned. Update imports:-import { checkVpn, type VpnCheckResult } from "anonymous-ip"; +import { checkAnonymity, type AnonymityCheckResult } from "anonymous-ip"; -const result = await checkVpn(ip); +const result = await checkAnonymity(ip);
The shape of the result (
ip,isVpn,isTor,provider,geo) is unchanged.
Minor Changes
-
e385f90Thanks @ro80t! - Add proxy ASN detection, mirroring the existing VPN ASN detection.src/proxy-asns.tsexportsPROXY_ASN_PROVIDERS,isProxyAsn, andgetProxyProvider;checkAnonymitynow also returnsisProxyandproxyProvider.Two ASNs previously listed only in
VPN_ASN_PROVIDERS(CroxyProxy and Rayobyte, ASNs 201814 and 64267) were open/commercial proxy services rather than consumer VPNs, so they moved toPROXY_ASN_PROVIDERS:isVpnAsn/checkAnonymity().isVpnwill now reportfalsefor these two ASNs, whileisProxyAsn/checkAnonymity().isProxyreportstrue. A few ASNs that genuinely serve both purposes (Aeza Group, 1337 Services/EliteTeam, IP Volume inc) remain listed in both maps.