Skip to content
masterclass Buddy

Arcjet · Concept

Bun

The Arcjet Bun SDK protects Bun HTTP requests with rules such as Shield, bot detection, and rate limits. Configure one shared client, then call protect() for each request.

Last updated

Syntax

arcjet(options)
await aj.protect(request, context?)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • shield
  • detectBot
  • tokenBucket
  • fixedWindow
  • cloudflare
  • ArcjetDecision
  • DRY_RUN
  • LIVE

Source: Arcjet Bun SDK reference. Checked 2026-11-03.