Socket
Socket
Sign inDemoInstall

@arcjet/runtime

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcjet/runtime

Arcjet runtime detection


Version published
Weekly downloads
578
decreased by-48.85%
Maintainers
0
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.

FAQs

Package last updated on 01 Jul 2024

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc