Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/hex/src/fw/service/deps.ts>oak.Router#entries

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Go to Latest
method oak.Router.prototype.entries
import { oak } from "https://deno.land/x/hex@0.6.3/src/fw/service/deps.ts";
const { Router } = oak;

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

Returns

IterableIterator<[Route<string>, Route<string>]>