Skip to content

ivesia/koa-wechat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wechat middleware for koa 2

install

npm install --save @alphatr/koa-wechat

how to use

app.use(wechat('token').middleware((ctx, next) => {
    const message = ctx.state.wechat;
    // do something

    ctx.body = 'response';
    return next();
});

About

wechat middleware for koa 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published