=====>> 宽屏查看 <<=====
很多网站,尤其是国外网站,为了加快网站的速度,都是用了 Google 的 CDN。 但是在天朝,由于某些原因,导致全球最快的 CDN 变成了全球最慢的。
于是,我写了这个插件,将 Google 的 CDN 替换成国内的。
https://github.com/justjavac/ReplaceGoogleCDN
npm install google-ips
const googleIps = require("google-ips");
console.log(googleIps.ips.length);
console.log(googleIps.countries);
console.log(googleIps.getByCountry("Hong Kong"));
console.log(googleIps.has("93.123.23.1"));
console.log(googleIps.findCountry("118.174.25.251"));
You can also import the generated JSON data directly:
const data = require("google-ips/data");
$ claude mcp add Google-IPs \
-- python -m otcore.mcp_server <graph>