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 🙏

© 2024 – Pkg Stats / Ryan Hefner

ms-teams-adaptive-notifications

v1.0.2

Published

CLI used to send Microsoft Adaptive Cards using an Incoming Webhook.

Downloads

4

Readme

ms-teams-adaptive-notifications

CLI used to send Microsoft Adaptive Cards using an Incoming Webhook.

oclif Version codecov Downloads/week License: MIT

Overview

Microsoft provides Adaptive Cards which are an open card exchange format enabling developers to exchange UI content in a common and consistent way.

There may be times or uses cases that one would like to send a customizable message to a teams channel to notify of an event (ex: Tekton Pipeline Completion Run, Release Cut, etc...).

This NPM CLI allows users to send customizable notifications to a Microsoft Teams via an incoming webhook.

The adaptive card schema and payload to templatize card can be stored locally or fetched remotely.

This CLI leverages Microsoft's Adaptive Card Templating SDKs.

Prerequisites

Usage

$ npm install -g ms-teams-adaptive-notifications

$ ms-notify (-v|--version|version)
ms-teams-adaptive-notifications/1.0.0 linux-x64 node-v16.13.0

$ ms-notify --help
Send Microsoft Adaptive Cards using an Incoming Webhook.

USAGE
  $ ms-notify -t <adaptive-card-template> -c <adaptive-card-content> WEBHOOKURL

ARGUMENTS
  WEBHOOKURL  Microsoft Teams Webhook URL

OPTIONS
  -c, --content=content    (required) Content to be inserted into Adaptive Card Template - [URL/FILE_PATH]
  -h, --help               show CLI help
  -t, --template=template  (required) Adaptive Card Template - [URL/FILE_PATH]
  -v, --version            show CLI version

Usage via Docker

# Pull Image from DockerHub
docker pull antoniordz/ms-notify@latest

# View Help Information
dock run --rm ms-notify --help

# Basic Usage
docker run --rm ms-notify -t <adaptive-card-template> -c <adaptive-card-content> WEBHOOKURL

Alternatives