Skip to main content
Module

x/http_fns/generate.ts>generateRoutesModule

A bunch of functions for building HTTP servers
Go to Latest
function generateRoutesModule
import { generateRoutesModule } from "https://deno.land/x/http_fns@v0.0.27/generate.ts";

Generate a TypeScript module that exports a routing handler as the default function.

The generated code will vary depending on the options given.

Returns

Promise<boolean>