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.
Adds the library to perform redaction on text using the Arcjet sensitive info primitive. Redaction is performed by creating a `RedactionSession` object with the configuration that you want to use,...
[Server actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations) are the recommended way to do things like [handling forms in Next.js](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations#forms). They don't act like route handlers and there is no `request` object to pass to the...
We should have a CONTRIBUTING.md file that explains expectations for contributions. This could include the various steps needed for a feature/fix PR or example PR (such as adding things to...
[Yoga](https://the-guild.dev/graphql/yoga-server) is a JS/TS GraphQL server that integrates with many of the frameworks we already support e.g. [Express](https://the-guild.dev/graphql/yoga-server/docs/integrations/integration-with-express), [Next.js](https://the-guild.dev/graphql/yoga-server/docs/integrations/integration-with-nextjs), [NestJS](https://the-guild.dev/graphql/yoga-server/docs/integrations/integration-with-nestjs). We have a user who is integrating NestJS with Yoga...
We should create a fastify adapter. One thing I noticed that would be cool is that fastify has an official plugin for generating swagger for your API, which we could...
Astro allows middleware and provides the request information in the `context`. [Per the docs](https://docs.astro.build/en/reference/api-reference/#astrorequest), this is a standard [Request](https://developer.mozilla.org/en-US/docs/Web/API/Request) object. If we try to pass this through to `aj.protect` there...
I had a user report a compile error which turned out to be because they were using TypeScript 4.9.5. Updating to the latest version (5.5.2) solved this. Should we add...
We should try out various SvelteKit deployment adapters to make sure the integration works across them.
Might be the lack of the required `refillRate` or the inclusion of an unknown `fillRate`, but the following config: ```js tokenBucket({ mode: "LIVE", capacity: 40, fillRate: 10, interval: 60, }),...
We should attach the `waitUntil` function (if it is available) to the ArcjetAdapterContext. See https://vercel.com/docs/functions/functions-api-reference#waituntil And https://developers.cloudflare.com/pages/functions/api-reference/#eventcontext