How to Connect to Coinbase API Using Cloudflare Workers
This was a pain in the ass.
1 min read
CoinbaseCloudflare Workers

JavaScript Johnny

Easy step-by-step guide
import { codeToHtml } from "shiki"
const code = "const a = 1" // input code
const html = await codeToHtml(code, {
lang: "javascript",
theme: "vitesse-dark",
})
console.log(html) // highlighted html string
Check out the Coinbase API docs for more details.