Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fsrouter/private/route.ts>Route.create

A file system based router for Deno.
Go to Latest
method Route.create
import { Route } from "https://deno.land/x/fsrouter@2.8.0/private/route.ts";

Parameters

filePath: string
rootDir: string

Returns

Promise<Route>