【文件属性】:
文件名称:ware:你自己的中间件层
文件大小:5KB
文件格式:ZIP
更新时间:2021-07-11 09:46:53
JavaScript
洁具
您自己的中间件层。
安装
npm install freaking-awesome/ware
npm test
用
var Ware = require ( 'ware' )
Ware ( )
// define
. use ( function ( a , b , c , next ) {
next ( )
} )
. use ( function ( a , b , c , next ) {
next ( )
} )
. use ( Ware ( )
. use ( function ( a , b , c , next ) {
next ( )
} )
. use ( Ware ( )
. us
【文件预览】:
ware-master
----.gitignore(14B)
----package.json(399B)
----.travis.yml(49B)
----index.js(132B)
----test.js(5KB)
----README.md(784B)
----tests()
--------Ware()
----lib()
--------Ware()