New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-msdeploy

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-msdeploy

Simplified Node.js interface for MsDeploy (Windows platform only)

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Node MsDeploy

Simplified Node.js interface for MsDeploy (Windows platform only)

Install NPM

npm install node-msdeploy --save

Usage

Setup deployment on Microsoft Azure AppService


// Import module
let NodeMsDeploy = require('node-msdeploy');

// Define deploy options (ex. Azure App Service)
let deployOptions = {
    computerName : 'my-app.scm.azurewebsites.net', 
    site: 'my-app', 
    protocol: 'https',
    port: 443, 
    userName: '$my-app', 
    password: 'my-supersecret-password123!',
    authType: 'Basic', 
    packageFile: 'C:\\folder\\subfolder\\zip-with-application.zip'
};

// Initialize deployer
let deployer = new NodeMsDeploy(deployOptions);

// Launch deployment and handle promise
deployer.execute().then(
    
    // Success
    () => { 
        console.log('Deployment completed!'); 
    }, 

    // Error
    (err) => { 
        console.log('Deployment failed with error ' + err); 
    }
);

Keywords

msdeploy

FAQs

Package last updated on 08 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