Arcjet · Concept
NestJS
Add Arcjet to NestJS with @arcjet/nest, configure a site key and rules, then register ArcjetGuard as a global guard. Arcjet can apply protection to every route or to selected controllers and routes.
Last updated
Syntax
ArcjetModule.forRoot({ isGlobal?: boolean, key: string, rules: Rule[], characteristics?: string[], proxies?: Array<string | ProxyService> })In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ArcjetModule.forRootArcjetGuardshielddetectBotfixedWindowfiltercloudflareARCJET_KEY