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

x/pup/plugins/web-interface/deps.ts>Router#entries

Universal process manager built in Deno
Go to Latest
method Router.prototype.entries
import { Router } from "https://deno.land/x/pup@1.0.0-beta.25/plugins/web-interface/deps.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>]>