Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oak/router.ts>Layer#toJSON

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
method Layer.prototype.toJSON
import { Layer } from "https://deno.land/x/oak@v17.1.2/router.ts";

Returns

Route<any, any, any>