---
title: \@qwik.dev/qwik-router/vite/node-server API Reference
---

# [API](/api) &rsaquo; @qwik.dev/qwik-router/vite/node-server

<h2 id="nodeserveradapter">nodeServerAdapter</h2>

> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

```typescript
export declare function nodeServerAdapter(opts?: NodeServerAdapterOptions): any;
```

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

opts

</td><td>

[NodeServerAdapterOptions](#nodeserveradapteroptions)

</td><td>

_(Optional)_

</td></tr>
</tbody></table>

**Returns:**

any

[Edit this section](https://github.com/QwikDev/qwik/tree/main/packages/qwik-router/src/adapters/node-server/vite/index.ts)

<h2 id="nodeserveradapteroptions">NodeServerAdapterOptions</h2>

> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

```typescript
export interface NodeServerAdapterOptions extends ServerAdapterOptions
```

**Extends:** ServerAdapterOptions

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

name?

</td><td>

</td><td>

string

</td><td>

**_(BETA)_** _(Optional)_

</td></tr>
</tbody></table>

[Edit this section](https://github.com/QwikDev/qwik/tree/main/packages/qwik-router/src/adapters/node-server/vite/index.ts)
