cloudflare_workers 0.0.4+4
cloudflare_workers: ^0.0.4+4 copied to clipboard
Write and deploy Dart functions to Cloudflare Workers.
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
copied to clipboard
Create a new project:
edge new cloudflare_workers new_project
copied to clipboard
To learn more, visit the documentation.
Testing #
To run the tests, install the Node dependencies:
npm install
copied to clipboard
Then run the tests:
dart test -p node
copied to clipboard