x/oak/router.ts

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
method Router.prototype.keys
import { Router } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v17.1.2/router.ts?p=prototype.keys&s=Router";

Iterate over the routes currently added to the router. To be compatible with the iterable interfaces, the key is set to the value of the route.

Returns

IterableIterator<Route<string>>[src]