2.0.0 • Published 3 years ago
is-windows-terminal v2.0.0
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.