- koa版本为koa2
- 使用 koa-static 加载静态文件
- 使用 koa-views 渲染模板,模板引擎使用 ejs
- 使用 koa-logger 记录日志
- 使用 koa-bodyparser 解析 HTTP body
- 使用 koa-router 管理路由
https://www.npmjs.com/package/eslint-config-airbnb
(
export PKG=eslint-config-airbnb;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)