# JavaScriptPackageInstallerAnnotation

- Kind: `class`
- Package: [Aspire.Hosting.JavaScript](/reference/api/csharp/aspire.hosting.javascript.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.JavaScript`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.JavaScript/JavaScriptPackageInstallerAnnotation.cs)
- Implements: `IResourceAnnotation`

Represents an annotation for a JavaScript installer resource.

## Definition

```csharp
namespace Aspire.Hosting.JavaScript;

public sealed class JavaScriptPackageInstallerAnnotation
    : Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
    // ...
}
```

## Constructors

- [JavaScriptPackageInstallerAnnotation(ExecutableResource)](/reference/api/csharp/aspire.hosting.javascript/javascriptpackageinstallerannotation/constructors.md#constructor-executableresource) -- Represents an annotation for a JavaScript installer resource.

## Properties

- [Resource](/reference/api/csharp/aspire.hosting.javascript/javascriptpackageinstallerannotation/properties.md#resource) : `ExecutableResource` `get` -- The instance of the Installer resource used.
