# RouteModule

`interface` in `http` · v0.5.1

<https://docs.seedcord.org/packages/http/0.5.1/interfaces/route-module>

One file may export several handlers.

```ts
interface RouteModule
```

## Properties

### exportName

```ts
readonly exportName: string
```

The exported binding inside the loaded module.

### from

```ts
readonly from: string
```

The source file the row came from, reported when the export is missing.

### load

```ts
readonly load: () => Promise<Record<string, unknown>>
```

Lazy import of the module, evaluated on first hit.
