Although this router works fine I made a new one, based on experiences using it in production with Cloudflare Workers.
simple cloudflare worker recipe to send logs into logdna
A template for kick starting a Cloudflare worker project using workers-rs.
Here's a simple CloudFlare Worker with a built-in router that allows you to separate your worker logic into different functions and/or "controllers" so you can achieve a clean separation of concerns while working within the 1 script limit for non-Enterprise plans.
Examples of reading in a POST request body of type JSON, form-data, and blobs before it reaches the origin server.
The main features of ashleygwilliams/worker-template-requests are: Worker Recipes.
Open-source alternatives to ashleygwilliams/worker-template-requests include: berstend/service-worker-router — Although this router works fine I made a new one, based on experiences using it in production with Cloudflare Workers. boynet/cf-logdna-worker — simple cloudflare worker recipe to send logs into logdna. cloudflare/rustwasm-worker-template — A template for kick starting a Cloudflare worker project using workers-rs. cloudflare/worker-examples — Cloudflare Workers let you deploy serverless code instantly across the globe for exceptional performance, reliability,… cloudflare/worker-template — A template for kick starting a Cloudflare worker project. anderly/cloudflare-worker-routing — Here's a simple CloudFlare Worker with a built-in router that allows you to separate your worker logic into different…