node-powershell-await

1.0.4 • Public • Published

Node-powershell await

Install: npm install node-powershell-await

Example:

    let Shell = require('node-powershell-await');
    let ps = new Shell({
        executionPolicy: 'Bypass',
        noProfile: true
    });
    
    async function getNodeversion() {
        ps.asyncAddCommand('node -v');
        console.log(await ps.asyncInvoke());
    }

Readme

Keywords

none

Package Sidebar

Install

npm i node-powershell-await

Weekly Downloads

3

Version

1.0.4

License

MIT

Unpacked Size

1.13 kB

Total Files

3

Last publish

Collaborators

  • dominusac12