pz.application

1.0.0 • Public • Published

Application

Unified code, general use the koa middleware

  • constructor(options) attach the context with options field

ctx.options

  • use(middleware) add middleware (the same as koa.use)

add middleware

  • exec(handleFn) handle function

handleFn(err,ctx)

Readme

Keywords

none

Package Sidebar

Install

npm i pz.application

Weekly Downloads

3

Version

1.0.0

License

none

Last publish

Collaborators

  • qingmuadore