cloudflare/worker-template-router
cloudflare/worker-template-router has 238 GitHub stars and 82 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-20 21:16 UTC. Last push 2026-04-23.
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- Historique en cours
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
À propos
This template demonstrates using the itty-router package to add routing to your Cloudflare Workers.
Outils de développementREADME.md
OriginalRouter
This template demonstrates using the itty-router package to add routing to your Cloudflare Workers.
index.js is the content of the Workers script.
Wrangler
You can use wrangler to generate a new Cloudflare Workers project based on this template by running the following command from your terminal:
wrangler generate myapp https://github.com/cloudflare/worker-template-router
Before publishing your code you need to edit wrangler.toml file and add your Cloudflare account_id - more information about configuring and publishing your code can be found in the documentation.
Once you are ready, you can publish your code by running the following command:
wrangler publish