Skip to main content
Module

x/abc/deps.ts>Node

A better Deno framework to create web application.
Go to Latest
class Node
import { Node } from "https://deno.land/x/abc@v1.0.0-rc6/deps.ts";

Properties

children: Node[]
handle: Function | undefined
indices: string
maxParams: number
nType
path: string
priority: number
wildChild: boolean

Methods

addRoute(path: string, handle: Function): void
getValue(path: string): [Function | undefined, Params | undefined, boolean]
incrementChildPrio(pos: number): number
insertChild(
numParams: number,
path: string,
fullPath: string,
handle: Function,
): void