0.0.4 • Published 4 years ago

italk v0.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

微信消息处理器

配合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));
0.0.4

4 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago