Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@hudiemon/webhook

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hudiemon/webhook

webhook

npmnpm
Version
2.0.0
Version published
Weekly downloads
1
-88.89%
Maintainers
1
Weekly downloads
 
Created
Source

webhook

NPM version NPM downloads

安装

$ pnpm i @hudiemon/webhook

配置

process.env.WEBHOOK_FEISHU
process.env.WEBHOOK_WEIXIN

使用

import Webhook from "@hudiemon/webhook";

const webhook = new Webhook({title: "test"})

webhook.info('info')
webhook.success('success')
webhook.warning('warning')
webhook.error('error')
webhook.finally()

// test
// info
// ✅success
// ❗️warning
// ❌error

结果

LICENSE

MIT

Keywords

飞书webhook

FAQs

Package last updated on 22 Dec 2022

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