1.2.0 • Published 3 months ago

which-runtime v1.2.0

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

which-runtime

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

npm install which-runtime

Usage

import {
  runtime, // bare, node, or browser
  platform, // the platform string, ie darwin, win32, etc
  arch, // which arch, arm64, ia32, x64 etc
  isBrowser,
  isBare,
  isNode,
  isLinux,
  isWindows,
  isMac,
  isIOS,
  isAndroid
} from 'which-runtime'

License

Apache-2.0

1.2.0

3 months ago

1.1.0

3 months ago

1.0.0

3 months ago

0.0.0

3 months ago