@znode/nobot-slack
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

@zodash/nobot-slack

Slack 通知机器人

Usage

import sendMessage from '@zodash/nobot-slack';

sendMessage(webhookUrl, {
  msgtype: 'text',
  text: {
    content: '广州今日天气:29度,大部分多云,降雨概率:60%',
  },
});

// more example see __tests__/sendMessage

Package Sidebar

Install

npm i @znode/nobot-slack

Weekly Downloads

2

Version

0.0.5

License

MIT

Unpacked Size

8 kB

Total Files

8

Last publish

Collaborators

  • uniquecolesmith