Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@swiftmr/node-powershell

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swiftmr/node-powershell

Easily run PowerShell from your NodeJS app

  • 4.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Fork Version

Node-PowerShell

Build Status NPM Version NPM Downloads Coveralls Package Quality Closed Issues Dependencies License  GitHub Stars

Node-PowerShell taking advantage of two of the simplest, effective and easy tools that exist in the today technology world. On the one hand, NodeJS which made a revolution in the world of javascript, and on the other hand, PowerShell which recently came out with an initial open-source, cross-platform version, and by connecting them together, gives you the power to create any solution you were asked to, no matter if you are a programmer, an IT or a DevOps guy.

Installation

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

Quick start

const Shell = require("node-powershell");

const ps = new Shell({
  executionPolicy: "Bypass",
  noProfile: true,
});

ps.addCommand("echo node-powershell");
ps.invoke()
  .then((output) => {
    console.log(output);
  })
  .catch((err) => {
    console.log(err);
  });

Documentation

Documentation

PowerShell 6

Microsoft
GitHub

TODO

  • Full pwsh support.
  • New docs & homepage.
  • PSCommand class.
  • CI improvements.
  • Postinstall script.
  • Improve error handling.
  • More examples.
  • More test + coverage.
  • Electron + Lambada POC.

License

MIT © Ran Cohen

Keywords

FAQs

Package last updated on 21 Feb 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc