2.0.0 • Published 3 years ago

is-powershell v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

is-powershell

version Maintenance MIT size Known Vulnerabilities

Node.js - Detect if the terminal is powershell

Getting started

This package is available in the Node Package Repository and can be easily installed with npm or yarn.

$ npm i is-powershell
# or
$ yarn add is-powershell

Usage example

const isPowershell = require("is-powershell");

async function main() {
    const ret = await isPowershell();
    console.log(`is parent pid is powershell ? ${ret}`);
}
main().catch(console.error);

Licence

MIT

2.0.0

3 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago