Skip to content
FrontEnd-Interview
Search
K
Main Navigation
Home
Typescript
blog
wiki
me
Appearance
Menu
Return to top
On this page
express koa & nestjs
express
express 和 koa 的区别
express 是基于回调的,koa 是基于 promise 的
koa 更加轻量,只提供了基础的功能,需要自己去扩展
koa 的中间件是洋葱模型,express 是线性模型