1. Koa is a new Web framework dedicated to becoming a smaller area of Web application and Api development, More expressive cornerstone KOA features lightweight unbundled middleware architecture elegant API design enhanced error handling 2. NPM I KOA-S installation 3. Koa functions mainly to address native HTTP insufficient description complex processes for section description 4. Const koa = new koa (‘koa’) const app = new koa () app.use(async (CTX,next)=> {const start = new Date().getTime() Await next() const end = new Date().getTime() console.log(time-consuming ${parseInt(end-start)}ms)}) app.use((CTX,next) => { The console. The log (” = = = = “) CTX. Body = ({name: ‘123’})}) screenshots 11.25.55 2019-11-26 afternoon

Implementation of KOA Middleware screen snapshot