Skip to main content
Deno 2 is finally here 🎉️
Learn more
class ImageRouteService
import { ImageRouteService } from "https://deno.land/x/sptaki@1.2.0/services/mod.ts";

Properties

protected
routes: Record<string, string>

Methods

addRoute(urlKey: string, route: string): void
existsByKey(urlKey: string): boolean
getByKey(urlKey: string): string