UNPKG
hastily
Version:
latest (0.5.0)
0.5.0
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.0
0.2.2
0.2.1
0.2.0
express middleware to simulate fastly cdn
github.com/zetlen/hastily
zetlen/hastily
hastily
/
build
/
module
/
lib
/
splice-response.d.ts
7 lines
(6 loc)
•
261 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
Request
}
from
'express'
;
import
{
IMutableResponse
,
IWorkStream
}
from
'./imageopto-types'
;
/** *
@hidden
*/
export
default
function
splice
(
req: Request, res: IMutableResponse, next: (e?:
Error
) => any, makeStream: () => IWorkStream |
false
):
void
;