Cloudflare Workers - Dart Edge
This package is part of the Dart Edge project, enabling you to write and deploy to Cloudflare Workers using Dart.
Getting Started
Install the Cloudflare wrangler
CLI globally.
Next, install the edge
package globally.
pub global activate edge
Create a new project:
edge new cloudflare_workers new_project
To learn more, visit the documentation.
Testing
To run the tests, install the Node dependencies:
npm install
Then run the tests:
dart test -p node
Libraries
- cloudflare_workers
- cloudflare_workers_shelf
- interop/cache_interop
- interop/durable_object_interop
- interop/email_message_interop
- interop/environment_interop
- interop/execution_context_interop
- interop/html_rewriter_interop
- interop/kv_namespace_interop
- interop/request_init_interop
- interop/request_interop
- interop/scheduled_event_interop
- public/cache_storage
- public/cloudflare_workers
- public/do/durable_object
- public/do/durable_object_id
- public/do/durable_object_namespace
- public/do/durable_object_state
- public/do/durable_object_storage
- public/do/durable_object_stub
- public/email_message
- public/environment
- public/execution_context
- public/fetcher
- public/html_rewriter
- public/kv_namespace
- public/request
- public/request_init
- public/scheduled_event
- public/socket
- public/top