---
title: \@builder.io/qwik-city/vite/bun-server API Reference
---

# [API](/api) &rsaquo; @builder.io/qwik-city/vite/bun-server

## bunServerAdapter

> This API is provided as an alpha 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 bunServerAdapter(opts?: bunServerAdapterOptions): any;
```

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

Parameter

</th><th>

Type

</th><th>

Description

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

opts

</td><td>

[bunServerAdapterOptions](#bunserveradapteroptions)

</td><td>

_(Optional)_

</td></tr>
</tbody></table>
**Returns:**

any

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

## bunServerAdapterOptions

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

```typescript
export interface bunServerAdapterOptions 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>

**_(ALPHA)_** _(Optional)_

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

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