8000 GitHub - cfworker/cfworker: A collection of packages optimized for Cloudflare Workers and service workers. · GitHub
[go: up one dir, main page]

Skip to content
cfworkerPublic

About

A collection of packages optimized for Cloudflare Workers and service workers.

Topics

Resources

Stars

703 stars

Watchers

7 watching

Forks

Repository files navigation

cfworker

Release

A collection of packages optimized for Cloudflare Workers and service workers.

@cfworker/cosmos

Azure Cosmos DB client for Cloudflare Workers and service workers

readme | npm

@cfworker/csv

Streaming CSV encoding for Cloudflare Workers and service workers

readme | npm

@cfworker/json-schema

A JSON schema validator that will run on Cloudflare workers. Supports drafts 4, 7, 2019-09, and 2020-12.

readme | npm

@cfworker/jwt

Tiny lib for decoding JWTs and verifying signatures, using native crypto APIs

readme | npm

@cfworker/sentry

Minimalist Sentry client for Cloudflare workers and service workers

readme | npm

@cfworker/uuid

Serialize/deserialize V4 UUIDs from a Uint8Array

readme | npm

@cfworker/web

Web framework for Cloudflare Workers and service workers, inspired by Koa and fastify

readme | npm

contributing

Development requires Node.js 26 or newer and npm 10.9.0 or newer. Install dependencies using npm. npm workspaces will ensure cfworker packages that depend on other cfworker packages are linked properly.

npm install

Run the same checks used by CI:

npm run lint
npm run typecheck
npm run build
npm test

Run a specific package's tests:

npm run test --workspace=@cfworker/web

Refer to each package's README for more specific instructions and examples. Some packages require a .env file (gitignored) containing cloudflare or cosmos db keys for integration testing.

About

A collection of packages optimized for Cloudflare Workers and service workers.

Topics

Resources

Stars

703 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0