is-windows-terminal
v2.0.0
Published
Check if the current environment is the Windows Terminal.
Downloads
10
Maintainers
Readme
Is Windows Terminal
Check if the current environment is the Windows Terminal.
Install
npm install is-windows-terminal
Usage
const isWindowsTerminal = require("is-windows-terminal")
// When running in Windows Terminal
console.log(isWindowsTerminal)
//=> true
API
isWindowsTerminal
Type: boolean
Whether the current environment is the Windows Terminal.