holepunchto

holepunchto/which-runtime

Detect if you are in Bare or Node and which os etc

JavaScript
7
1
Apache License 2.0

which-runtime is a Node.js package that detects the runtime environment, including whether it's running in Bare, Node, or a browser, as well as the operating system and architecture. It's designed for developers who need to write cross-platform code and require runtime-specific functionality. The package provides a simple API to check the runtime, platform, and various operating system flags.

Total donated
Undistributed
Share with your subscribers: