Skip to main content
Module

x/denzo/deps.ts>Node

Well designed web framework for Deno
Latest
class Node
import { Node } from "https://deno.land/x/denzo@v0.1.1/deps.ts";

Constructors

new
Node(node?: Partial<Node<T>>)

Type Parameters

optional
T = Function

Properties

children: Map<string, Node<T>>
handler: T | undefined
path: string

Methods

add(path: string, handler: T): void
find(path: string): [T | undefined, Map<string, string>]