Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/boywithkeyboard-archive/cdn-cgi-trace

Parse /cdn-cgi/trace to JSON
https://github.com/boywithkeyboard-archive/cdn-cgi-trace

cloudflare geolocation

Last synced: 12 days ago
JSON representation

Parse /cdn-cgi/trace to JSON

Awesome Lists containing this project

README

        

## cdn-cgi-trace

**cdn-cgi-trace** parses the response from `https://1.1.1.1/cdn-cgi/trace` to JSON.

### Setup

```bash
npm i cdn-cgi-trace
```

```ts
import { fetchTrace } from 'cdn-cgi-trace'
```

### Usage

```ts
const trace = await fetchTrace()
```