npm.io
1.0.19 • Published yesterday

cloudflare-server-locations

Licence
MIT
Version
1.0.19
Deps
0
Size
36 kB
Vulns
0
Weekly
0

Cloudflare Server Locations

NPM Version NPM Unpacked Size NPM Downloads GitHub Actions Workflow Status

In case you have a three letter code (e.g., from the colo field of /cdn-cgi/trace) and want to know which server location it belongs to, here is a list of Cloudflare's server locations, no additional network requests needed.

Usage

import { CloudflareServerLocations } from 'cloudflare-server-locations'

console.log(CloudflareServerLocations['LAX']) // Los Angeles, CA, United States

Keywords