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));

/italk/

    Package Sidebar

    Install

    npm i italk

    Weekly Downloads

    5

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    16.5 kB

    Total Files

    18

    Last publish

    Collaborators

    • youmoo