Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lc-cn/web-wechat
https://github.com/lc-cn/web-wechat
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lc-cn/web-wechat
- Owner: lc-cn
- License: mit
- Created: 2022-06-20T01:02:05.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-03T06:04:52.000Z (9 months ago)
- Last Synced: 2024-11-11T01:24:32.425Z (6 days ago)
- Language: TypeScript
- Size: 67.4 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
## lib-wechat
1. nodejs端的lib-wechat 实现
2. 按照icqq的规范,实现了的部分接口## 使用样例
1. 安装依赖:
```shell
npm install lib-wechat --save
```2. 引入:
```javascript
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](https://github.com/icqqjs/icqq) 提供参考代码
## 申明
1. 本仓库使用MIT协议开源,使用本仓库代码,请遵守MIT协议
2. 本仓库代码仅供学习交流,不得用于商业用途
3. 开源项目,造成的任何后果,本人不负任何责任