# addDenoApp

- Module: [Aspire.Hosting.JavaScript](/reference/api/typescript/aspire.hosting.javascript.md)
- Version: `13.6.0`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)

Adds a Deno application to the application model. Deno should be available on the PATH.

## Definition

```typescript
interface IDistributedApplicationBuilder {
  // ... omitted for brevity
  addDenoApp(
    name: string,
    appDirectory: string,
    scriptPath: string): DenoAppResource
}
```

## Parameters

- `name` (`string`)
- `appDirectory` (`string`)
- `scriptPath` (`string`)

## Returns

[DenoAppResource](/reference/api/typescript/aspire.hosting.javascript/denoappresource.md) `builder`

## Applies to

- [IDistributedApplicationBuilder](/reference/api/typescript/aspire.hosting.javascript/idistributedapplicationbuilder.md)
