用于expressjs错误处理程序的自动异步中间件包装器。-Node.js开发

时间:2024-06-16 04:41:38
【文件属性】:

文件名称:用于expressjs错误处理程序的自动异步中间件包装器。-Node.js开发

文件大小:40KB

文件格式:ZIP

更新时间:2024-06-16 04:41:38

Node.js Miscellaneous

用于expressjs错误处理程序的自动异步中间件包装器。 AutoAsyncWrap用于expressjs的自动异步中间件包装。 install $ npm install auto-async-wrap-保存使用情况从'express'导入{Router}从'auto-async-wrap'导入autoAsyncWrap const router = Router()router.use([[您使用的每个中间件。 ])router.use(errorHandler)//注册完所有中间件之后。 autoAsyncWrap(router)将发送“拉取请求”贡献到此存储库。 许可证版权(c)2020年至今NAVER Corp.特此授予许可,不得


【文件预览】:
auto-async-wrap-master
----.nvmrc(3B)
----.babelrc(105B)
----package.json(843B)
----.eslintrc.json(650B)
----LICENSE(1KB)
----package-lock.json(145KB)
----src()
--------index.js(439B)
----.gitignore(914B)
----lib()
--------index.js(706B)
----.npmrc(60B)
----README.md(1KB)
----.editorconfig(370B)

网友评论