@hypha/is-running-in-vm
v1.0.0
Published
Detects if the process is running in a VM and resolves to either true or false accordingly.
Downloads
2
Readme
@hypha/is-running-in-vm
Synchronously detects if the current process is running in a virtual machine and resolves to either true or false accordingly.
Usage
const isRunningInVM = require('@hypha/is-running-in-vm')
console.log(`The current process ${isRunningInVM ? 'is' : 'is not'} running in a virtual machine.`)
License
AGPLv3 or later.