# Pagerless for Bun

> The same one import as Node. Bun gets its own build.

URL: https://pagerless.dev/integrations/bun
Updated: 2026-10-22

## Set up

```bash
npm i pagerless
```

```ts
import "pagerless/auto";
```

## What it catches

- Uncaught errors and unhandled rejections.
- Errors from `Bun.serve` handlers, re-thrown unchanged.
- Failing `fetch` calls.
- Sends before the process exits.

## Questions

### Do I need a different package for Bun?

No. The pagerless package has a Bun build that `pagerless/auto` picks automatically.
