
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
@evokegroup/msteams
Advanced tools
Helper for sending message to a Microsoft Teams channel
Parameter | Type | Default | Description |
---|---|---|---|
url | string | The channel's webhook URL |
Parameter | Type | Default | Description |
---|---|---|---|
card | MSTeams.Card | The card to send |
const MSTeams = require('@evokegroup/msteams');
const card = new MSTeams.Card({
title: 'Title',
text: 'Message text'
});
const msTeams = new MSTeams('https://outlook.office.com/webhook');
msTeams.sendCard(card)
.then(() => {
// Card sent
})
.catch((ex) => {
console.log(ex);
});
Parameter | Type | Default | Description |
---|---|---|---|
title | string | The card title | |
text | string | The card text |
const MSTeams = require('@evokegroup/msteams');
const msTeams = new MSTeams('https://outlook.office.com/webhook');
msTeams.sendMessage({
title: 'Title',
text: 'Message text'
})
.then(() => {
// Card sent
})
.catch((ex) => {
console.log(ex);
});
Parameter | Type | Default | Description |
---|---|---|---|
url | string | The channel's webhook URL | |
card | MSTeams.Card | The card to send | |
title | string | The card title if card is undefined | |
text | string | The card text if card is undefined |
const MSTeams = require('@evokegroup/msteams');
MSTeams.send({
url: 'https://outlook.office.com/webhook',
title: 'Title',
text: 'Message text'
});
Parameter | Type | Default | Description |
---|---|---|---|
title | string | The card title | |
text | string | The card text |
Property | Type | Description |
---|---|---|
title | string | The card title |
text | string | The card text |
Serializes the card
FAQs
Helper for sending message to a Microsoft Teams channel
We found that @evokegroup/msteams demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.