express常用函数有哪些?

千锋教育

常用函数有以下几个


express .Router—路由组件


app.get—路由定向。


app. configure——配置。


app.set一设定参数。


app.use——使用中间件。