# Aspire.Hosting.JavaScript

- Module: `Aspire.Hosting.JavaScript`
- Version: `13.2.0`
- Source: [GitHub](https://github.com/microsoft/aspire)
- Functions: `11`
- Types: `3`

## Types

- [JavaScriptAppResource](/reference/api/typescript/aspire.hosting.javascript/javascriptappresource.md) -- `handle` - 10 members
- [NodeAppResource](/reference/api/typescript/aspire.hosting.javascript/nodeappresource.md) -- `handle` - 0 members
- [ViteAppResource](/reference/api/typescript/aspire.hosting.javascript/viteappresource.md) -- `handle` - 1 members

## Functions

- [addJavaScriptApp](/reference/api/typescript/aspire.hosting.javascript/addjavascriptapp.md) -- `method` -- Adds a JavaScript application resource
- [addNodeApp](/reference/api/typescript/aspire.hosting.javascript/addnodeapp.md) -- `method` -- Adds a Node.js application resource
- [addViteApp](/reference/api/typescript/aspire.hosting.javascript/addviteapp.md) -- `method` -- Adds a Vite application resource
- [withBrowserDebugger](/reference/api/typescript/aspire.hosting.javascript/withbrowserdebugger.md) -- `method` -- Configures a browser debugger for the JavaScript application
- [withBuildScript](/reference/api/typescript/aspire.hosting.javascript/withbuildscript.md) -- `method` -- Specifies an npm script to run before starting the application
- [withBun](/reference/api/typescript/aspire.hosting.javascript/withbun.md) -- `method` -- Configures Bun as the package manager
- [withNpm](/reference/api/typescript/aspire.hosting.javascript/withnpm.md) -- `method` -- Configures npm as the package manager
- [withPnpm](/reference/api/typescript/aspire.hosting.javascript/withpnpm.md) -- `method` -- Configures pnpm as the package manager
- [withRunScript](/reference/api/typescript/aspire.hosting.javascript/withrunscript.md) -- `method` -- Specifies an npm script to run during development
- [withViteConfig](/reference/api/typescript/aspire.hosting.javascript/withviteconfig.md) -- `method` -- Configures a custom Vite configuration file
- [withYarn](/reference/api/typescript/aspire.hosting.javascript/withyarn.md) -- `method` -- Configures yarn as the package manager
