arcjet-js
arcjet-js copied to clipboard
Arcjet JS SDKs. Rate limiting, bot protection, email verification & attack defense for Node.js, Next.js, Bun & SvelteKit.
Create one example for Next 13 and one for Next 14 that don't have default files. > Yeh I've been thinking about this. I've copied the idea from how Next.js...
We should explore deduplication of rules within the same client. This seems especially complex in the situation where the SDK is used in middleware & handlers. For example, how would...
Vercel edge functions have a maximum bundle size depending on the plan you're on ([Hobby: 1 MB, Pro: 2 MB, Ent: 4 MB](https://vercel.com/docs/functions/runtimes#size-limits)) so we need to keep track of...
After the deprecation period for #605, we should make the case where a user calls `protect()` with no rules an error since it does nothing.
Eslint v9 made breaking changes to the way things are configured. This is a fairly big change to propagate across the ecosystem and into our workspace and examples. We're going...
The Arcjet Node SDK doesn't currently support the [Nuxt](https://nuxt.com/) framework. For [API routes](https://nuxt.com/docs/guide/directory-structure/server), Nuxt uses [event handlers](https://h3.unjs.io/guide/event-handler) which receive an [event object](https://h3.unjs.io/guide/event). This is similar to what Arcjet is expecting...
> I'd also like to have e2e tests on them as part of CI so we don't need to manually test every endpoint every time. _Originally posted by @davidmytton in...
Remove all external dependencies from the SDK so we can claim "you only add 1 additional dependency to your application" when you install the Arcjet SDK.
When using `createMiddleware` or `withArcjet` via `@arcjet/next`, the handlers should use content negotiation to figure out what format to send back (json/html/etc).