node-powershell

Node.js binding for PowerShell

Usage no npm install needed!

<script type="module">
  import nodePowershell from 'https://cdn.skypack.dev/node-powershell';
</script>

README

node-powershell

Node.js binding for PowerShell

NPM Version NPM Downloads

Installation

$ npm i -S node-powershell
$ yarn add node-powershell

Usage

import { PowerShell } from 'node-powershell';
PowerShell.

	
		
		
		
		
		
		
		
	npm:node-powershell | Skypack
	
		
		
		
		echo "hello from PowerShell"`;

See child-shell documentation and playground for more use cases

Resources