0.0.3 • Published 7 months ago

js-runtime-checker v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

js-runtime-checker

project logo

This is an npm library that can retrieve the currently running JavaScript Runtime environment.

Usage

Install:

npm install js-runtime-checker

Example:

import { getEnv } from 'js-runtime-checker';
console.log(getEnv()); // "deno" | "bun" | "nodejs" | "browser" | "unknown"

License

MIT

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago