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

@arcjet/runtime

Package Overview
Dependencies
Maintainers
3
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcjet/runtime

Arcjet runtime detection

Source
npmnpm
Version
1.0.0-beta.9
Version published
Weekly downloads
59K
-11.04%
Maintainers
3
Weekly downloads
 
Created
Source
Arcjet Logo

@arcjet/runtime

npm badge

Arcjet runtime detection.

This package attempts to discover and provide runtime keys as defined by the WinterCG.

Installation

npm install -S @arcjet/runtime

Example

import { runtime, hasWebAssembly } from "@arcjet/runtime";

runtime() === "node"; // in Node.js
runtime() === "bun"; // in Bun.sh
runtime() === "edge-light"; // in Vercel Edge
runtime() === "workerd"; // in Cloudflare Workers

Implementation

Improvements of this library were informed by std-env, which is licensed MIT with licenses included in our source code.

License

Licensed under the Apache License, Version 2.0.

Keywords

arcjet

FAQs

Package last updated on 09 Jul 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