---
lang: en
title: 'API docs: rest.node'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.node.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [Node](./rest.node.md)

## Node interface

A Node in the trie

**Signature:**

```typescript
export interface Node<T> 
```

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td markdown="1">

[children](./rest.node.children.md)


</td><td markdown="1">

`readonly`


</td><td markdown="1">

{ \[key: string\]: [Node](./rest.node.md)<!-- -->&lt;T&gt;; }


</td><td markdown="1">

Children of the node


</td></tr>
<tr><td markdown="1">

[key](./rest.node.key.md)


</td><td markdown="1">


</td><td markdown="1">

string


</td><td markdown="1">

Key of the node


</td></tr>
<tr><td markdown="1">

[names?](./rest.node.names.md)


</td><td markdown="1">


</td><td markdown="1">

string\[\]


</td><td markdown="1">

_(Optional)_ Names of the node if it contains named parameters


</td></tr>
<tr><td markdown="1">

[regexp?](./rest.node.regexp.md)


</td><td markdown="1">


</td><td markdown="1">

RegExp


</td><td markdown="1">

_(Optional)_ Regular expression for the template


</td></tr>
<tr><td markdown="1">

[value?](./rest.node.value.md)


</td><td markdown="1">


</td><td markdown="1">

T


</td><td markdown="1">

_(Optional)_ Value of the node


</td></tr>
</tbody></table>


