Cloudflare服务器位置
如果您有三个字母的代码(例如,来自 colo 领域的 /cdn-cgi/trace),并想知道它属于哪个服务器位置,这里是Cloudflare的服务器位置列表,不需要额外的网络请求。
用法
import { CloudflareServerLocations } from 'cloudflare-server-locations'
console.log(CloudflareServerLocations['LAX']) // Los Angeles, CA, United States