1.0.0-beta.8 • Published 6 months ago

@arcjet/runtime v1.0.0-beta.8

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 months ago

@arcjet/runtime

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.

1.0.0-alpha.30

1 year ago

1.0.0-alpha.32

1 year ago

1.0.0-alpha.31

1 year ago

1.0.0-alpha.34

12 months ago

1.0.0-alpha.33

1 year ago

1.0.0-beta.2

10 months ago

1.0.0-beta.3

9 months ago

1.0.0-beta.4

9 months ago

1.0.0-beta.5

8 months ago

1.0.0-beta.1

11 months ago

1.0.0-beta.6

8 months ago

1.0.0-beta.7

7 months ago

1.0.0-beta.8

6 months ago

1.0.0-alpha.29

1 year ago

1.0.0-alpha.28

1 year ago

1.0.0-alpha.27

1 year ago

1.0.0-alpha.26

1 year ago

1.0.0-alpha.23

1 year ago

1.0.0-alpha.25

1 year ago

1.0.0-alpha.24

1 year ago

1.0.0-alpha.22

1 year ago

1.0.0-alpha.21

1 year ago

1.0.0-alpha.20

1 year ago

1.0.0-alpha.19

1 year ago

1.0.0-alpha.18

1 year ago

1.0.0-alpha.17

1 year ago

1.0.0-alpha.16

1 year ago

1.0.0-alpha.15

1 year ago

1.0.0-alpha.14

1 year ago