Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adaptive/pops

PoPs geolocation derived from IATA airport codes
https://github.com/adaptive/pops

alibaba alibabacloud aws cachefly cdn cloudflare equinix fastly geolocation hacktoberfest linode netlify pop stackpath vercel vultr

Last synced: 2 months ago
JSON representation

PoPs geolocation derived from IATA airport codes

Awesome Lists containing this project

README

        

# Points of Presence for CDNs

![Banner](/banner.png)

[![npm](https://img.shields.io/npm/v/@adaptivelink/pops.svg)](https://www.npmjs.com/package/@adaptivelink/pops)   ![Test](https://github.com/adaptive/pops/workflows/Test/badge.svg?branch=main)

ES Module with geolocation and IATA codes of Content Delivery Networks and hosting companies points of presence. Useful for plotting, planning and network measurements.

## 🔨 Install with `yarn` or `npm`

```bash
yarn add @adaptivelink/pops
```

```bash
npm i @adaptivelink/pops
```

## 🛠️ Usage

```javascript
import PoPs from "@adaptivelink/pops";

/* Geolocation of Cloudflare PoPs */
console.log(PoPs.cloudflare.geo);

/* IATA code of Fastly PoPs */
console.log(PoPs.fastly.code);

/* Total of locations for AWS Lightsail Datacenters */
console.log(PoPs.fastly.code.length);

/* Providers in Madrid */
console.log(PoPs.MAD.providers);

/* Location of Lisbon */
console.log(PoPs.LIS.geo);

/* All PoPs codes */
console.log(PoPs.all.code);

/* All PoPs locations */
console.log(PoPs.all.geo);

/* Providers */
["alibaba", "arubacloud", "atlanticnet", "azurecdn", "azurevm",
"backblaze", "bunnycdn", "cachefly", "cdn77", "cloudflare",
"cloudfront", "cloudsigma", "deno", "digitalocean", "equinix",
"ec2", "fastly", "flexential", "gcore", "googlecdn", "googlecompute",
"heroku", "hetzner", "hostwinds", "imperva", "ionos", "kamatera",
"keycdn", "leapswitch", "lightsail", "limelight", "linode", "mnx",
"netlify", "ovh", "packet", "scaleway", "stackpath", "upcloud",
"verizonmedia", "vercel", "vultr", "wasabi"]
```

## 🌐 Supported CDNs and Hosting Providers

* Alibaba ```alibaba```
* Arubacloud ```arubacloud```
* AWS Cloudfront ```cloudfront```
* AWS EC2 ```ec2``` 🕵️
* AWS Lightsail ```lightsail``` 🕵️
* Atlanticnet ```atlanticnet``` 🕵️
* Azure CDN ```azurecdn```
* Azure VM ```azurevm```
* Backblaze ```backblaze```
* Bunnycdn ```bunnycdn```
* CacheFly ```cachefly```
* CDN77 ```cdn77``` 🕵️
* Cloudflare ```cloudflare``` 🕵️
* CloudSigma ```cloudsigma```
* Deno Deploy ```deno``` 🕵️
* DigitalOcean ```digitalocean``` 🕵️
* Equinix ```equinix```
* Fastly ```fastly``` 🕵️
* Flexential ```flexential```
* G-Core Labs ```gcore```
* Google Cloud CDN ```googlecdn```
* Google Compute Engine ```googlecompute```
* Heroku ```heroku```
* Hetzner ```hetzner```
* Hostwinds ```hostwinds```
* Imperva ```imperva``` 🕵️
* Ionos ```ionos```
* Kamatera ```kamatera```
* KeyCDN ```keycdn``` 🕵️
* LeapSwitch ```leapswitch```
* Limelight Networks ```limelight```
* Linode ```linode``` 🕵️
* MNX ```mnx```
* Netlify ```netlify```
* OVH ```ovh```
* Packet ```packet```
* Scaleway ```scaleway```
* Stackpath ```stackpath``` 🕵️
* Upcloud ```upcloud``` 🕵️
* Verizon Media ```verizonmedia```
* Vercel ```vercel``` 🕵️
* Vultr ```vultr``` 🕵️
* Wasabi ```wasabi```

## 🕵️ Spotters

Spotters are scheduled GitHub Actions that continuously monitor CDNs and Hosting Providers points of presence locations and cross-reference with this module data.

## 🥰 Contribution

Feel free to suggest or PR more networks and PoP locations.

## 💻 Codespaces

This repo is configured for GitHub Codespaces.

## 📒 Jupyter Notebook

A Jupyter Notebook is available at [Kaggle](https://www.kaggle.com/hugoromano/pops-notebook/), where providers rough coverage is simulated at ~5ms RTT. Source for this notebook in directory `notebooks`.