by cloudflare

cloudflare / worker-examples

Examples of Javascript you can run on Cloudflare’s worldwide network

515 Stars 101 Forks Last release: Not found MIT License 57 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Cloudflare Worker Recipes

Cloudflare Workers make it possible to write Javascript which runs on Cloudflare’s network around the world. Using Workers you can build services which run exceptionally close to your users. You can also intercept any request which would ordinarily travel through Cloudflare to your origin, and modify it in any way you need. Workers can make requests to arbitrary resources on the Internet, can perform cryptography using the WebCrypto API, and can do almost anything you might be used to configuring your CDN to accomplish.

This repository is intended to contain examples of how Workers can be used to accomplish common tasks. You are welcome to use, modify, and extend this code! If you have an additional example you think would be valuable, please submit a pull request.

Questions about Workers can be addressed on our community site!

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.