@hudiemon/webhook
v2.0.1
Published
webhook
Downloads
2
Readme
webhook
安装
$ 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