koa-async-conditional-get

时间:2021-04-30 18:12:46
【文件属性】:
文件名称:koa-async-conditional-get
文件大小:6KB
文件格式:ZIP
更新时间:2021-04-30 18:12:46
JavaScript Koa异步条件获取 +/-异步版本的 。 :light_bulb: 该中间件是为 v2.xx设计的,并使用来实现ES5兼容性。 :wrench: 该中间件正在开发中。 反馈/公关受到欢迎和鼓励。 如果您想在这个项目上进行合作,请告诉我。 安装 $ npm install --save koa-async-conditional-get 用法 import Koa from 'koa' ; import conditionalGet from 'koa-async-conditional-get' ; import eTag from 'koa-async-etag' ; const app = new Koa ( ) ; app . use ( conditionalGet ) ; app . use ( eTag ) ; app . use ( async ( ctx , next ) => { await
【文件预览】:
koa-async-conditional-get-master
----.gitignore(46B)
----.babelrc(70B)
----package.json(1KB)
----src()
--------index.js(162B)
----.travis.yml(157B)
----LICENSE(1KB)
----scripts()
--------release.sh(955B)
----README.md(2KB)
----.npmignore(0B)
----test()
--------test.js(926B)

网友评论