Cloudflare API library

This library is a wrapper around the Cloudflare API.
Installation
npm install @orama/cloudflare-api
Usage
import { CloudflareApi } from '@orama/cloudflare-api';
const apiKey = 'your-api-key'
const api = new CloudflareApi({ apiKey })
const ACCOUNT_ID = 'your-account-id'
const NAMESPACE_ID = 'your-namespace-id'
const workerKv = api.workerKv(ACCOUNT_ID, NAMESPACE_ID)
await workerKv.uploadKv('key', 'value')
await workerKv.getKv('key', 'text')
await workerKv.deleteKv('key')
License
Apache-2.0