hot.dev/cloudflare — Cloudflare API bindings for Hot. Zones and DNS, cache purge, Workers KV, Worker scripts and routes, R2 buckets, D1 queries, Pages deployments, and Turnstile verification, with pagination and readable errors.
"hot.dev/cloudflare": "0.1.0"
Add this to your deps in hot.hot
Namespaces
| Namespace | Functions | Types | Description |
::cloudflare | 0 | — | Cloudflare API bindings. |
| Namespace | Functions | Types | Description |
::api | 38 | 3 | Cloudflare API v4 plumbing shared by every `::cloudflare::*` module: |
::cache | 6 | — | Cloudflare cache purge (POST /zones/{zone_id}/purge_cache). |
::d1 | 7 | — | Cloudflare D1 over the REST API: list databases and run SQL with |
::dns | 10 | — | Cloudflare DNS records: list with filters (paged or all), find by name and type, create, update, overwrite, delete. |
::kv | 20 | — | Workers KV over the Cloudflare API: namespaces, key listing (cursor |
::pages | 11 | — | Cloudflare Pages: list projects and deployments, trigger a build of a |
::r2 | 10 | — | R2 bucket management over the Cloudflare API: list, create, get, and |
::turnstile | 5 | — | Cloudflare Turnstile server-side validation. |
::workers | 10 | — | Cloudflare Workers: list, deploy (single ES module), fetch, and delete |
::zones | 4 | — | Cloudflare zones: list (paged or all), look up by name, get by id. |