{"_id":"@axolo/egg-wechat-mp","_rev":"5-411c5ab2fc93a6df185219fbe37c1a0d","name":"@axolo/egg-wechat-mp","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"@axolo/egg-wechat-mp","version":"0.0.1","description":"@axolo/node-wechat-mp plugin for Egg.js.","eggPlugin":{"name":"wechatMp"},"keywords":["egg","eggPlugin","egg-plugin","wechat","miniprogram","mp"],"dependencies":{"@axolo/node-wechat-mp":"^0.0.1"},"devDependencies":{"autod":"^3.1.1","autod-egg":"^1.1.0","egg":"^2.29.3","egg-bin":"^4.15.0","egg-ci":"^1.18.0","egg-mock":"^4.0.1","eslint":"^7.21.0","eslint-config-egg":"^9.0.0"},"engines":{"node":">=10.0.0"},"scripts":{"test":"npm run lint -- --fix && egg-bin pkgfiles && npm run test-local","test-local":"egg-bin test","cov":"egg-bin cov","lint":"eslint .","ci":"egg-bin pkgfiles --check && npm run lint && npm run cov","pkgfiles":"egg-bin pkgfiles","autod":"autod"},"ci":{"version":"8, 10"},"repository":{"type":"git","url":"git+https://github.com/axolo/egg-wechat-mp.git"},"bugs":{"url":"https://github.com/axolo/egg-wechat-mp/issues"},"homepage":"https://github.com/axolo/egg-wechat-mp#readme","author":{"name":"Yueming Fang"},"license":"MIT","gitHead":"d0b9d389a1c9ec3df529ba2da4c5e2b6632951f3","_id":"@axolo/egg-wechat-mp@0.0.1","_nodeVersion":"15.10.0","_npmVersion":"7.5.3","dist":{"integrity":"sha512-gVg/IT21r8KvhTHLgeP04KQQ8RA07sHzRZfPlQNxEyZgPXH5pxMSEUKOXDL2riSj4EEckcriEZZqRRrftatnlQ==","shasum":"91eb05cfbdd5259aff4a7938a879e75ca5cb808c","tarball":"https://registry.npmjs.org/@axolo/egg-wechat-mp/-/egg-wechat-mp-0.0.1.tgz","fileCount":6,"unpackedSize":5340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQJcXCRA9TVsSAnZWagAAd3wP/jqAtqGMZ2h11Z6UYyqt\nyItuXo/AHX/YarMu/nepOWmhrEnnUII+MjAQL70dDXeVX6ETLFSKkc383iBK\ngA4atclFnY0+ohZ8RofDB22VbdozD5jROm5FPYzOC1Zaxlx+na0TysK7ecbh\nXsdfFpRPvR7BibYfHmxHpkuhd7VHDumcXrQz9ZH38tjCLkV7P9xs5GKPhObp\nebIum5P5ZxcMNS9jjv4Rf44QJtYJFAWpJfSA74vJxDfVBKpNzBZYSI1/GlyA\n9CgqvAURnIvH5lpDihe3af0/6XMl6o4JaasKLrMWebDk6Kc3uUroIiXyhdDb\nGwOdSVbqssvw7cKysMdj1StugxdDnrBqwsoL3ZYaZ9tYVtDN+KiRTKgIqaDw\nIuKiFm8/CJ9MPTFMzmI3O+AS24MiZBT5VZB1KVEZ72DY8zA2VCzhsscWIDmM\nn/DKpCaxXZLFrcp1bW5J6kSO36LDJv3doeujWIhepoeYLz0KG30U2IUK5SHv\nDjz2ZMQnE/PnNl/tSQjugfr0fSuA1UOOKQs+L1uXayd9oZRBdKfwFrYXCZOq\nacYSRWesphL/n5waEgYNqcp05QWQZiOeycJFVc21SZPsxptRdaxH4Xn7ddd6\n8alN+pKwlW+iBu+VEtVUZaam/OIcQ1YNMENUfOIJimRE3kJp9OAqMzJPZYnt\nQE3S\r\n=Yc2T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIYR+WaDzHoxNdWfEqYTZ9HYJ5NNWykt1cxiDD/fU0+wIgPqDgb3H/evHUcX2aCUatIAfvzQRLs1bavJrC0rxMhjE="}]},"_npmUser":{"name":"axolo","email":"zergdo@gmail.com"},"directories":{},"maintainers":[{"name":"axolo","email":"zergdo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/egg-wechat-mp_0.0.1_1614845719503_0.5861798508637579"},"_hasShrinkwrap":false},"0.0.2":{"name":"@axolo/egg-wechat-mp","version":"0.0.2","description":"@axolo/node-wechat-mp plugin for Egg.js.","eggPlugin":{"name":"wechatMp"},"keywords":["egg","eggPlugin","egg-plugin","wechat","miniprogram","mp"],"dependencies":{"@axolo/node-wechat-mp":"^0.0.2"},"devDependencies":{"autod":"^3.1.1","autod-egg":"^1.1.0","egg":"^2.29.3","egg-bin":"^4.15.0","egg-ci":"^1.18.0","egg-mock":"^4.0.1","eslint":"^7.21.0","eslint-config-egg":"^9.0.0"},"engines":{"node":">=10.0.0"},"scripts":{"test":"npm run lint -- --fix && egg-bin pkgfiles && npm run test-local","test-local":"egg-bin test","cov":"egg-bin cov","lint":"eslint .","ci":"egg-bin pkgfiles --check && npm run lint && npm run cov","pkgfiles":"egg-bin pkgfiles","autod":"autod"},"ci":{"version":"8, 10"},"repository":{"type":"git","url":"git+https://github.com/axolo/egg-wechat-mp.git"},"bugs":{"url":"https://github.com/axolo/egg-wechat-mp/issues"},"homepage":"https://github.com/axolo/egg-wechat-mp#readme","author":{"name":"Yueming Fang"},"license":"MIT","gitHead":"be6fb0ccfeb73f79bdea007effd9b3f001b3ee62","_id":"@axolo/egg-wechat-mp@0.0.2","_nodeVersion":"15.10.0","_npmVersion":"7.5.3","dist":{"integrity":"sha512-e2l5wbbAL//zEbwVRVMLdF7FD2NAsPZqdFYsPxu08IdjnBIXnccNatf50IN8KCZ/y9MT9TzuZ0VDv/jgLYY3Qg==","shasum":"7ecc6ec9422996c58d4b11d5b6cb994313aaad26","tarball":"https://registry.npmjs.org/@axolo/egg-wechat-mp/-/egg-wechat-mp-0.0.2.tgz","fileCount":6,"unpackedSize":5340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRtSgCRA9TVsSAnZWagAAZzUP/iX4+Rt0N0QbyPklsEja\nwkAoLdT9xqiQF7UI7oSURrIQlNA6CxF23K1ItGcaiBmM5DCq+Qi5sizJeGqJ\nGTbqtq5b7XuIgrAZ/Mx54YhzT3Z0Qah6mfOu673ufOYwkd5IzT+1vMU1LYiM\n+oLGATwiqbl8meKwLBxsK1q7NKVXVVLJzN3+WRxAsAAmU0dTl5WuvB5qceTp\nHxkMQX8JBsFst6KnqfsrsKWTI/5KRkoyDjV5a788+PPBfvY8ZBYly1OLyett\ni9iQQPvIwHPoJFUeRSHOEdKa52iBBDl25aqIiNyEgidNSttr8F4fVRWWBYLF\nNTDOkE9Cboe3KbPOkiltCVwpjGoikk2uUylq7kiM9x7Iyay65IqveayLqv/P\nhiBhTynILmgTqJ49DETQA3s2xew3w6coIDUyBuyW2jcmlPpV5B/rte4Jg2gq\nGxRaPfvhP6U0AH17+3/fY0inVklAz6rEg3xCavMaf8dMVihCgrGvgwGa1Aw9\n/4XPXfGhLvaDLuAd/tBdmwT/rFGYbQ1Wpdhb17s9+GbDrQ/A2l7MBdlN31EZ\npQgFVRdjPfxfUjBtO5vGxDaTtBMpzm+k/2QKOipAFr1GnmQAAFkBS1Vvk/0A\n/arzAw0jQqeXhvEm8Lik+ORJgxk/4b2PqVBLshVoj39vfJQJiSPeEqCtmLEQ\n1g8F\r\n=sMsH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDU43ev6NERbbVA9LyiZufxfxAZbDHlTI+Lk/PXWR4SIAiArenJ3nVGOY+Ka8JCNYuob71y/EAjSUc1nLsdKLuKJ+g=="}]},"_npmUser":{"name":"axolo","email":"zergdo@gmail.com"},"directories":{},"maintainers":[{"name":"axolo","email":"zergdo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/egg-wechat-mp_0.0.2_1615254688238_0.22836765209110865"},"_hasShrinkwrap":false},"0.0.3":{"name":"@axolo/egg-wechat-mp","version":"0.0.3","description":"@axolo/node-wechat-mp plugin for Egg.js.","eggPlugin":{"name":"wechatMp"},"keywords":["egg","eggPlugin","egg-plugin","wechat","miniprogram","mp"],"dependencies":{"@axolo/node-wechat-mp":"^0.0.3"},"devDependencies":{"autod":"^3.1.1","autod-egg":"^1.1.0","egg":"^2.29.3","egg-bin":"^4.15.0","egg-ci":"^1.18.0","egg-mock":"^4.0.1","eslint":"^7.21.0","eslint-config-egg":"^9.0.0"},"engines":{"node":">=10.0.0"},"scripts":{"test":"npm run lint -- --fix && egg-bin pkgfiles && npm run test-local","test-local":"egg-bin test","cov":"egg-bin cov","lint":"eslint .","ci":"egg-bin pkgfiles --check && npm run lint && npm run cov","pkgfiles":"egg-bin pkgfiles","autod":"autod"},"ci":{"version":"8, 10"},"repository":{"type":"git","url":"git+https://github.com/axolo/egg-wechat-mp.git"},"bugs":{"url":"https://github.com/axolo/egg-wechat-mp/issues"},"homepage":"https://github.com/axolo/egg-wechat-mp#readme","author":{"name":"Yueming Fang"},"license":"MIT","gitHead":"ca840549d6ec7475043378fbdc904ec7a3c111cc","_id":"@axolo/egg-wechat-mp@0.0.3","_nodeVersion":"15.10.0","_npmVersion":"7.5.3","dist":{"integrity":"sha512-ZZiWDXYMir/y4OxWa5BxI/pekJ/4CkH1K/8RSsIPlttoPNlU+mnFKHmwjwbnXCSwHeAFpUp0HGjLK3EEH1mMlQ==","shasum":"46a8827a399162dddf2889cb1cfd747804c6ff80","tarball":"https://registry.npmjs.org/@axolo/egg-wechat-mp/-/egg-wechat-mp-0.0.3.tgz","fileCount":6,"unpackedSize":5327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcQzBCRA9TVsSAnZWagAApowP/ijy6mH4MZGuQWCcBFmj\nEn9dPhFKYlmsR3PWE3iCVbbQo5kT7WJsrUMNm7RWMtEZbSK065mc+RDg85QO\nq+5NZ/iUgOZJailpIgOxFzUl5kUMO2MgIZHBe5a7LKiHoOucFqOdK2i5o2k3\nt9YpHkI/YfWUNB/Pb8IzIC+OYWisvWgCccin7GPsfYgnwVUHWS70v6rWMHAp\noPjdJBzLz/+fMTUHhewRi6IxdZ2shvmH40Kqc4SwQXERsyh73pjhaFm11iK4\nJqmgY/FcSGAC+TCEOX+zPY2JalTmhs/oC8MZNwpT+6qoPyZkpjMkn4naPXF/\niuxJJU/vUkn7XFqda+hJd9gxee/gYHf4AqxxZMO04ynGPTPWf0Cpnalon9h+\nMUAG1YjoSQ9fDa5I9pg1pojX2Pevs04cnUjk2iMx6qOjqcjVwqPZcnAdVbyK\nba6p3uaTOcgOPIV5pRtWQsOfdBH6FgnX/gtpQGjpXKGQiTQzau4ILtDSaDCA\nbFSp+p+DKdjx0QuByxorHmBszTze0QF+rh9ND3/XfiR9xx0iQdqcNvJWK3MF\nEJFdfbu5iOkuXPGLke9mugakFZWgiQukWefm7RnijqAMpPhKAJVPnw22+7+V\nZx2npoo8nJ7nqNyxFaFCUvWCcVNR+iS8C6iPvd3nLNtMtwu4uodx5pIySfDg\nf5MD\r\n=8EMb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3jFPQreccD8+NppzO2+oPgFxkkw9Ao/byrcYEhDs8vwIgEkYxm45PqMNaS/iU6A/Lt4/uNKkuc7hr+wWI1RFG0Tk="}]},"_npmUser":{"name":"axolo","email":"zergdo@gmail.com"},"directories":{},"maintainers":[{"name":"axolo","email":"zergdo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/egg-wechat-mp_0.0.3_1618021569511_0.839199645360774"},"_hasShrinkwrap":false},"0.0.4":{"name":"@axolo/egg-wechat-mp","version":"0.0.4","description":"@axolo/node-wechat-mp plugin for Egg.js.","eggPlugin":{"name":"wechatMp"},"keywords":["egg","eggPlugin","egg-plugin","wechat","miniprogram","mp"],"dependencies":{"@axolo/node-wechat-mp":"^0.0.4"},"devDependencies":{"autod":"^3.1.1","autod-egg":"^1.1.0","egg":"^2.29.3","egg-bin":"^4.15.0","egg-ci":"^1.18.0","egg-mock":"^4.0.1","eslint":"^7.21.0","eslint-config-egg":"^9.0.0"},"engines":{"node":">=10.0.0"},"scripts":{"test":"npm run lint -- --fix && egg-bin pkgfiles && npm run test-local","test-local":"egg-bin test","cov":"egg-bin cov","lint":"eslint .","ci":"egg-bin pkgfiles --check && npm run lint && npm run cov","pkgfiles":"egg-bin pkgfiles","autod":"autod"},"ci":{"version":"8, 10"},"repository":{"type":"git","url":"git+https://github.com/axolo/egg-wechat-mp.git"},"bugs":{"url":"https://github.com/axolo/egg-wechat-mp/issues"},"homepage":"https://github.com/axolo/egg-wechat-mp#readme","author":{"name":"Yueming Fang"},"license":"MIT","gitHead":"84917958360cbd550933615d189d1373d064e129","_id":"@axolo/egg-wechat-mp@0.0.4","_nodeVersion":"16.5.0","_npmVersion":"7.19.1","dist":{"integrity":"sha512-3Bf5cDzPGYsVjbV3IQBxYIZ2qL8NNXHLWnb0m4CK4pvbFrcgfoS4UiqRcRCvi6E8WYVk8REsmjeyBE7Qz88eUw==","shasum":"4b5aa104d8839777e1c013e642b89ec20d2ba8e5","tarball":"https://registry.npmjs.org/@axolo/egg-wechat-mp/-/egg-wechat-mp-0.0.4.tgz","fileCount":6,"unpackedSize":5327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzG+cCRA9TVsSAnZWagAAycUP+wYghsc6NiWttONZAMv+\nZiKnHs595SWxZXnF1K6EqHw+a6H24prKuY5+WaF4Qosql+DYNHZrrDjmu/2I\n1mbEWBuW4UwKPd4O8KBrV0sl7e+COD6JS/5FPJrEO8F6f3HaMOH6uAKW8kuC\neNjyGTdDTw49FUUKWnF969TkIvqiF3tLakrnahozBjNVR/uQ1e3u0uz7r9xP\nU90VhWNPxCxd8WJyiwNeKY55KmtZ65DuDXDOi85AzBK+xzpD4uA6Ufp2pwcC\nbG0xWW0DRNavFD7sK1rM9U1N3Dn2/tAS9yi8AWwuPG7MiCOLkvPwC40279ik\nNZkwYL6rls2RWJ3ltc4kAsxjQUf88BvQgD+1TNPI4/hQJZ33SrAmZzx9GWej\n+YvGptFs5Gc9SfP9L242/G9cY9dzn4GFo12bxZCF3o1B/XuYQzIOa1r33upv\n8jrjZ6qxKq/6IB1QtxgKijutVA46pnMKJLDa/gzhgU3SzbEdqqaTwslK7RzQ\nJZ9LGmz/HoTW3qwpga194rzkQWrbV8CwJu+5zQKnUIFI5xk1nDWP1QF/QF1n\nWf7b45RYm2wwm7G7GuiGpE+rCN5E27RAw0DFKifm3mFGbMRbmDzuWSM/+d4W\nNIA1CLO+NAO5jOY5gB6Ymf8QIuoRsTCKuljxbJEhSwEJtESkmh65ohUVfG1s\n2XaT\r\n=7Dpz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE8okJ2P0zlDoHbmgson8Ohn+qcR5SEyjtVzcu10RAnIAiB07QF1wtW2bRvUe0Wrnoull66crz4gb3+zSWirwQcc8w=="}]},"_npmUser":{"name":"axolo","email":"zergdo@gmail.com"},"directories":{},"maintainers":[{"name":"axolo","email":"zergdo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/egg-wechat-mp_0.0.4_1632124938122_0.2775391969804266"},"_hasShrinkwrap":false}},"time":{"created":"2021-03-04T08:15:19.467Z","0.0.1":"2021-03-04T08:15:19.646Z","modified":"2022-04-04T17:12:46.216Z","0.0.2":"2021-03-09T01:51:28.466Z","0.0.3":"2021-04-10T02:26:09.639Z","0.0.4":"2021-09-20T08:02:18.276Z"},"maintainers":[{"name":"axolo","email":"zergdo@gmail.com"}],"description":"@axolo/node-wechat-mp plugin for Egg.js.","homepage":"https://github.com/axolo/egg-wechat-mp#readme","keywords":["egg","eggPlugin","egg-plugin","wechat","miniprogram","mp"],"repository":{"type":"git","url":"git+https://github.com/axolo/egg-wechat-mp.git"},"author":{"name":"Yueming Fang"},"bugs":{"url":"https://github.com/axolo/egg-wechat-mp/issues"},"license":"MIT","readme":"# egg-wechat-mp\n\n@axolo/node-wechat-mp  plugin for Egg.js.\n\n## Install\n\n```bash\nnpm i @axolo/egg-wechat-mp --save\n```\n\n## Usage\n\n```js\n// {app_root}/config/plugin.js\nexports.wechatMp = {\n  enable: true,\n  package: '@axolo/egg-wechat-mp',\n};\n```\n\n## Configuration\n\n```js\n// {app_root}/config/config.default.js\nexports.wechatMp = {\n  client: {\n    appId: 'APP_ID',\n    appSecret: 'APP_SECRET',\n  },\n};\n```\n\nsee <https://github.com/axolo/node-wechat> for more help.\nsee [config/config.default.js](config/config.default.js) for more detail.\n\n## Example\n\n```js\n'use strict';\n\nconst Controller = require('egg').Controller;\n\nclass WechatMpController extends Controller {\n  async create() {\n    const { app, ctx } = this;\n    ctx.validate({ jsCode: 'string' });\n    const { jsCode } = ctx.request.body;\n    const wechatMp = app.wechatMp;\n    const session = await wechatMp.code2session({ jsCode });\n    ctx.body = session;\n  }\n}\n\nmodule.exports = WechatMpController;\n```\n\n## Questions & Suggestions\n\nPlease open an issue [here](https://github.com/axolo/egg-wechat-mp/issues).\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md"}