# Tracepanel for JavaScript (/docs/javascript)

Tracepanel for JavaScript is the `@tracepanel/js` package. It records each
request of your Node.js or Bun app with its SQL, its calls to Redis, MongoDB
and HTTP APIs, its console output and errors, and sends each trace to the
agent. The agent finds the issues and serves the panel and the console.

```bash
npm install @tracepanel/js
```

It supports Express, NestJS, Next.js, Nuxt and Bun. For a single-page app on
Vite, it puts the panel on the app's pages and records what users do on them,
each view and action with the API calls it made.

<Cards>
  <Card title="Installation" href="/docs/javascript/installation" description="Install the package and add it to your app." />
  <Card title="Pages in the browser" href="/docs/javascript/browser" description="The panel in a single-page app, and what users do on its pages." />
  <Card title="Integrations" href="/docs/javascript/integrations" description="What Tracepanel records in each framework and library." />
  <Card title="Configuration" href="/docs/javascript/configuration" description="The environment variables and thresholds." />
  <Card title="Tracing your code" href="/docs/javascript/tracing-your-code" description="span() and trace() for your own steps and jobs." />
  <Card title="Command line" href="/docs/javascript/cli" description="tracepanel run, dev and mcp." />
</Cards>
