0.0.3 • Published 2 years ago

js-runtime-checker v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago