🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.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.17
Version published
Weekly downloads
57K
-0.9%
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.

What is this?

This is an internal utility to help us figure out what platform we are running on. It’s a fork of unjs/std-env. We chose to fork so that we can cut away functionality that we do not use and keep our dependency tree as light as possible. We only need the runtime detection.

When should I use this?

You should not use this but use unjs/std-env or one of the alternatives instead. This package matches our current needs which are likely different from yours.

Install

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

npm install @arcjet/runtime

Use

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

console.log(runtime()); // => "bun" or "node" and such

License

Apache License, Version 2.0 © Arcjet Labs, Inc.

Derivative work based on std-env licensed under MIT © Pooya Parsa. Our work cherry picks only what we need.

Keywords

arcjet

FAQs

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