Update isVpn import to version 0.0.3

Updated the import URL for isVpn to version 0.0.3.
This commit is contained in:
josephrocca
2026-01-18 04:08:26 +08:00
committed by GitHub
parent c102112a0e
commit 0974c573f8

View File

@@ -17,8 +17,8 @@ These all go into [`vpn-or-datacenter-ipv4-ranges.txt`](https://raw.githubuserco
## Example usage:
You can just use the lists in this repo directly, but if you're looking for an efficient JavaScript `isVpn`, then you can use this:
```js
import { isVpn } from "https://cdn.jsdelivr.net/gh/josephrocca/is-vpn@v0.0.2/mod.js";
// let { isVpn } = await import("https://cdn.jsdelivr.net/gh/josephrocca/is-vpn@v0.0.2/mod.js");
import { isVpn } from "https://cdn.jsdelivr.net/gh/josephrocca/is-vpn@v0.0.3/mod.js";
// let { isVpn } = await import("https://cdn.jsdelivr.net/gh/josephrocca/is-vpn@v0.0.3/mod.js");
let ip = "123.123.123.123";
if(isVpn(ip)) {