New:Socket for Asana Is Now Available.Learn more
Sign In

offrouter-cloudflare

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

offrouter-cloudflare

Cloudflare Workers AI provider package for OffRouter.

latest
npmnpm
Version
0.34.0
Version published
Maintainers
1
Created
Source

offrouter-cloudflare

Cloudflare Workers AI provider package for OffRouter.

Install

npm install offrouter-cloudflare

Usage

import { createCloudflareAdapter } from "offrouter-cloudflare";

const adapter = createCloudflareAdapter({
  apiKey: process.env.CLOUDFLARE_API_TOKEN,
});

Provider activation names: CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID.

Cloudflare also needs CLOUDFLARE_ACCOUNT_ID unless you pass an account-scoped baseUrl.

The package delegates transport and policy behavior to offrouter-core.

FAQs

Package last updated on 06 Aug 2026

Related posts