npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@shubham-agarwal-27/hooks-deploy-to-azure

v1.0.8

Published

A Node package for deploying Web applications to Azure through git hooks

Readme

Application to Deploy a Node Web App To Azure

With the hooks-deploy-to-azure npm package you can deploy your Node web app to Azure.

Get started today with a free Azure account!

This repository contains a node script that will set your GitHub repository so that you can deploy your node app to Azure without leaving your git terminal.

Getting Started

  • Run the following command inside the root of your repository.
  npm i @shubham-agarwal-27/hooks-deploy-to-azure
  • This creates a folder "@shubham-agarwal-27/hooks-deploy-to-azure" inside the node_modules folder.
  • By staying in the root of your repository, run the following node command:
  node node_modules/@shubham-agarwal-27/hooks-deploy-to-azure
  • Now, open the workflow_inputs.txt file that has been created in the root of your repository and give the following inputs:
  • The inputs should be in the following format:
        github_PAT: <guid>
        tenant_id: <guid>
        subscription: <guid>
        resource_group: sampleresourcegroup
        resource: sampleresource
  • Once, the inputs have been supplied, go ahead with committing your changes to GitHub. Once git push is run, you will be prompted for Azure login, where you would be asked for your consent. Once authorized, your commits would be pushed and a GitHub Workflow would be triggered.
  • The Workflow run can be viewed in your browser by running the following command from the root of your repository:
      node open_workflow_run

GitHub PAT

  • It is a mandatory input and this token will be used in creating secrets in your GitHub account which are required during the workflow execution.
  • The token should have a repo_scope.
  • How to get the GitHub PAT token?
    • Go to https://github.com
    • Go Settings in your account
    • Click on Developer Settings
    • Click on Personal access tokens and then further click on "Generate new token"
    • Give some note associated with the token for your aid
    • Select the repo scope for this token and Click on Generate token.
    • Make sure you copy the token being shown to you as you won't be able to get the value in future
    • Open the workflow_inputs.txt file in your local repository.
    • Paste the content to the right side of "github_PAT:" mentioned in the file. DO NOT CHANGE ANYTHING ELSE. The input format should be like this => "github_PAT:<GitHub_PAT>"

Subscription ID

  • It is a mandatory input.
  • How to get the Subscription ID?:
    • Go to https://portal.azure.com
    • Go to Subscriptions
    • Select the subscription you want.
    • Copy the subscription id
    • Paste the content to the right side of "tenant_id:" mentioned in the file. DO NOT CHANGE ANYTHING ELSE. The input format should be like this => "subscription:<subscription_id>"

Resource Group

  • You may give the resource group name in one of the following cases:-
    • If you have any resource group in your tenant and want to use some resource in that resource group
    • If you have any resource group in your tenant and want us to create a resource in that resource group
    • If you don't have a resource group by that name but want us to create one with the name you provide
  • Important note => "Resource group names only allow alphanumeric characters, periods, underscores, hyphens and parenthesis and cannot end in a period."
  • If you don't provide us with a resource group name then one will be created for you with the name => ResGrp${{Alpha numeric characters of your repository name}} => example - "ResGrpnodeexpressappshubag" where the repository name is "node-express-app-shubag"
  • How to check resource groups in your tenant?
    • Go to https://portal.azure.com
    • Type "Resource Groups" in the search bar
    • A list is shown for various resource groups in your tenant
    • Copy the name of the resource group that contains the resosurce to be used.
    • The input format should be like this => "resource_group:<resource_group_name>"

Resource

  • You may give the resource name in one of the following cases:-
    • If you have any resource in the resource group name you provided
    • If you don't have a resource by this name, but want one to be created in the resource group name you provided
    • If you don't have a resource by this name, but want one to be created in the resource group which we custom create for you
  • Important note => "Resource names only allow alphanumeric characters"
  • If you don't provide us with a resource group name then one will be created for you with the name => Res${{Alpha numeric characters of your repository name}} => example - "Resnodeexpressappshubag" where the repository name is "node-express-app-shubag"
  • How to check resources in your tenant?
    • Go to https://portal.azure.com
    • Type "All Resources" in the search bar
    • A list is shown for various resources in your tenant
    • Copy the name of the resource to be used.
    • The input format should be like this => "resource:<resource_name>"