Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

exec-appx

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exec-appx

Executes a Windows Store application (Appx)

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

exec-appx

npm npm CircleCI David

Executes a Windows Store application (Appx)

Prerequisites

This library requires PowerShell 5.0 (or higher) and support for the Windows Store

Installation

yarn add exec-appx || npm install exec-appx

Usage

execAppx(appID: string, args: Array, options: Object)

Example usage in script:

const execAppx = require('exec-appx');

// Application ID
const appID = 'SpotifyAB.SpotifyMusic';

(async () => {
    try {
        await execAppx(appID);
    } catch (err) {
        console.error(err);
    }
})();

Options

See child_process.spawn documentation for details

License

This work is licensed under The MIT License

Keywords

appx

FAQs

Package last updated on 22 Jan 2021

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