wx-abc

1.0.8 • Public • Published

weixin package for simple usage

weixin server-side package for simple usage

Installation

npm install --save wx-abc

Features

  • surpport multiple weixin app instances
  • fully or basically surpport message, cs(custom service), jssdk, media, menu, oauth, pay(include red packet), qrcode, tmessage(template message)
  • message module support middlewares like tier(or express), use wx.message.use(fn, ...) or wx.message.text(fn, ...) or wx.message.event(fn,...)
  • most modules need to be run in fiber stack to make sync run style, so you need fibext.

Usage

Please refer to the test cases to get more usage examples.

Test

  • copy the file test/fixtures/params-example.json to params.json in the same dir, and set the corresponding params.
  • copy the weixin pay cert file to test/fixtures/apiclient_cert.p12

TODO

  • more api support
  • readme
  • more test and coverage test

License

Licensed under MIT

Copyright (c) 2015 kiliwalk

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.8
    1
    • latest

Version History

Package Sidebar

Install

npm i wx-abc

Weekly Downloads

6

Version

1.0.8

License

MIT

Last publish

Collaborators

  • kiliwalk