Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

is-powershell

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-powershell

Node.js - Detect if the terminal is powershell

Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

is-powershell

Maintenance MIT V1.0

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

Keywords

is

FAQs

Package last updated on 23 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts