lib-wechat
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

lib-wechat

  1. nodejs端的lib-wechat 实现
  2. 按照icqq的规范,实现了的部分接口

使用样例

  1. 安装依赖:
npm install lib-wechat --save
  1. 引入:
const {Client} = require('lib-wechat');
const client = new Client();
client.start()
client.on('message', (e) => {
    console.log(e);
    if (e.message === 'hello') {
        e.reply('world');
    }
})

感谢

  1. icqq 提供参考代码

申明

  1. 本仓库使用MIT协议开源,使用本仓库代码,请遵守MIT协议
  2. 本仓库代码仅供学习交流,不得用于商业用途
  3. 开源项目,造成的任何后果,本人不负任何责任

Readme

Keywords

Package Sidebar

Install

npm i lib-wechat

Weekly Downloads

8

Version

1.0.1

License

MIT

Unpacked Size

80.3 kB

Total Files

31

Last publish

Collaborators

  • lc_cn