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

x/oak_nest/mod.ts>OriginRouter#entries

Refer to nestjs to realize some common functions for Deno
Go to Latest
method OriginRouter.prototype.entries
import { OriginRouter } from "https://deno.land/x/oak_nest@v1.14.2/mod.ts";

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>]>