Spaces:
Paused
Paused
Download server/http-compression.d.ts from Nymbo/MiniSearch: direct link, hf CLI and curl.
- Browser
- Download file 405 Bytes
-
https://huggingface.co/spaces/Nymbo/MiniSearch/resolve/main/server/http-compression.d.ts
- Command line
-
hf download hf://spaces/Nymbo/MiniSearch/server/http-compression.d.ts
-
curl -L -o http-compression.d.ts https://huggingface.co/spaces/Nymbo/MiniSearch/resolve/main/server/http-compression.d.ts
405 Bytes
| declare module "http-compression" { | |
| import { IncomingMessage, ServerResponse } from "node:http"; | |
| interface Options { | |
| gzip?: { | |
| threshold?: number; | |
| flush?: number; | |
| }; | |
| brotli?: { | |
| threshold?: number; | |
| flush?: number; | |
| }; | |
| } | |
| export default function compression( | |
| options?: Options, | |
| ): (req: IncomingMessage, res: ServerResponse, next: () => void) => void; | |
| } | |