# Aspire.Hosting.Nats

- Module: `Aspire.Hosting.Nats`
- Version: `13.6.0`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)
- Functions: `4`
- Types: `1`

## Types

- [NatsServerResource](/reference/api/typescript/aspire.hosting.nats/natsserverresource.md) -- `handle` - 13 members -- A resource that represents a NATS server container.

## Functions

- [addNats](/reference/api/typescript/aspire.hosting.nats/addnats.md) -- `method` -- Adds a NATS server resource to the application model.
- [withDataBindMount](/reference/api/typescript/aspire.hosting.nats/withdatabindmount.md) -- `method` -- Adds a bind mount for the data folder to a NATS container resource.
- [withDataVolume](/reference/api/typescript/aspire.hosting.nats/withdatavolume.md) -- `method` -- Adds a named volume for the data folder to a NATS container resource.
- [withJetStream](/reference/api/typescript/aspire.hosting.nats/withjetstream.md) -- `method` -- Adds JetStream support to the NATS server resource.
