Download frontend/node_modules/next/dist/server/lib/format-hostname.d.ts from netzkontrast/rag-context-optimizer: direct link, hf CLI and curl.
- Browser
- Download file 215 Bytes
-
https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/server/lib/format-hostname.d.ts
- Command line
-
hf download hf://spaces/netzkontrast/rag-context-optimizer/frontend/node_modules/next/dist/server/lib/format-hostname.d.ts
-
curl -L -o format-hostname.d.ts https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/server/lib/format-hostname.d.ts
215 Bytes
| /** | |
| * Formats a hostname so that it is a valid host that can be fetched by wrapping | |
| * IPv6 hosts with brackets. | |
| * @param hostname | |
| * @returns | |
| */ | |
| export declare function formatHostname(hostname: string): string; | |