New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@arcjet/analyze

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcjet/analyze

Arcjet local analysis engine

  • 1.0.0-beta.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source
Arcjet Logo

@arcjet/analyze

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 is the Arcjet local analysis engine.

Installation

npm install -S @arcjet/analyze

Example

import { generateFingerprint, isValidEmail } from "@arcjet/analyze";

const fingerprint = generateFingerprint("127.0.0.1");
console.log("fingerprint: ", fingerprint);

const valid = isValidEmail("hello@example.com");
console.log("is email valid?", valid);

Implementation

This package uses the Wasm bindings provided by @arcjet/analyze-wasm to call various functions that are exported by our wasm bindings.

We chose to put this logic in a separate package because we need to change the import structure for each runtime that we support in the wasm bindings. Moving this to a separate package allows us not to have to duplicate code while providing a combined higher-level api for calling our core functionality in Wasm.

License

Licensed under the Apache License, Version 2.0.

FAQs

Package last updated on 15 Jan 2025

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc