import { mapData } from "https://deno.land/x/http_fns@v0.0.27/map.ts";
Create a Request handler that maps the incoming Request and first arg to a new arg, then calls the given handler with the original Request and the new argument.
Useful for mapping a request with URLPatternResult to template/component properties.