cdn-cgi-trace cdn-cgi-trace parses the response from https://1.1.1.1/cdn-cgi/trace to JSON. Setup npm i cdn-cgi-trace import { fetchTrace } from 'cdn-cgi-trace' Usage const trace = await fetchTrace()