Wondering what’s next for npm?Check out our public roadmap! »

italk

0.0.4 • Public • Published

微信消息处理器

配合wechat使用.

支持的消息格式见这里

使用方法

const italk = require("italk");
const handler_path = "path/to/your/handlers";
const handler = italk(handler_path);
 
const express = require("express");
const router = express.Router();
const wechat = require("wechat");
 
const config = {
  token: "",
  appid: "",
  encodingAESKey: ""
};
 
router.use(wechat(config, handler));

Keywords

Install

npm i italk

DownloadsWeekly Downloads

6

Version

0.0.4

License

MIT

Unpacked Size

16.5 kB

Total Files

18

Last publish

Collaborators

  • avatar