Back to rankings
justjavac/google-ips
TypeScriptGoogle 全球 IP 地址库,按国家/地区整理并提供 npm 查询 API Google IP address list grouped by country with JSON data and query helpers.
googlegfwip
Key Metrics
Star Growth
Stars
3.5k
Forks
1.1k
Weekly Growth
—
Issues
0
2k2.5k3k
Jun 2014Jun 2016Jun 2018Jun 2020Jul 2022Jul 2024Jul 2026
Artifactsnpm
npm install google-ipsREADME
Google 全球 IP 地址库
=====>> 宽屏查看 <<=====
Google 全球 IP 地址库按国家和地区整理 Google IP 地址,并提供 npm 包、JSON 数据文件和查询 API,便于在 Node.js 项目中直接使用。
数据来自历史公开收集结果,仓库会从 README 中的表格生成 data/google-ips.json。
npm package
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");
IP 地址来源:http://www.kookle.co.nr
Related repositories