🚀 Socket Launch Week Day 4:Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection.Learn more
Sign In

@arcjet/analyze-wasm

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcjet/analyze-wasm

WebAssembly bindings to Arcjet's local analysis engine

Source
npmnpm
Version
1.0.0-beta.18
Version published
Weekly downloads
72K
26.66%
Maintainers
3
Weekly downloads
 
Created
Source
Arcjet Logo

@arcjet/analyze-wasm

npm badge

Arcjet helps developers protect their apps in just a few lines of code. Implement rate limiting, bot protection, email verification, and defense against common attacks.

This package provides WebAssembly bindings to Arcjet's local analysis engine.

What is this?

This package provides logic in WebAssembly to locally analyze requests.

To load these binary files everywhere until something like Import Bytes is available, we settled on a technique that seems to work well everywhere. This technique gives us compatibility with for example Next.js which right now requires a special experimental asyncWebAssembly webpack configuration,

The file _virtual/arcjet_analyze_js_req.component.core.js contains the WebAssembly inlined as a data: URL. This is about 3 times smaller than using a Uint8Array (see Better Binary Batter: Mixing Base64 and Uint8Array for more info). That URL is then turned into an ArrayBuffer and passed to WebAssembly.compile.

The files here are generated. They are wrapped up into @arcjet/analyze for use in JavaScript, in turn exposed in our core package ([arcjet][github-arcjet-arcjet]) and our SDKs (such as @arcjet/next).

When should I use this?

This is an internal Arcjet package not designed for public use. See our Get started guide for how to use Arcjet in your application.

Install

This package is ESM only. Install with npm in Node.js:

npm install @arcjet/analyze-wasm

Use

Use @arcjet/analyze instead.

License

Apache License, Version 2.0 © Arcjet Labs, Inc.

Keywords

analyze

FAQs

Package last updated on 22 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts