Spaces:
Running
Running
Download node_modules/@k-l-lambda/web-editor/lib.browser/frontend/remoteFile.d.ts from k-l-lambda/lotus: direct link, hf CLI and curl.
- Browser
- Download file 501 Bytes
-
https://huggingface.co/spaces/k-l-lambda/lotus/resolve/main/node_modules/%40k-l-lambda/web-editor/lib.browser/frontend/remoteFile.d.ts
- Command line
-
hf download hf://spaces/k-l-lambda/lotus/node_modules/@k-l-lambda/web-editor/lib.browser/frontend/remoteFile.d.ts
-
curl -L -o remoteFile.d.ts https://huggingface.co/spaces/k-l-lambda/lotus/resolve/main/node_modules/%40k-l-lambda/web-editor/lib.browser/frontend/remoteFile.d.ts
501 Bytes
| /// <reference types="node" /> | |
| import { EventEmitter } from "events"; | |
| export default class RemoteFile extends EventEmitter { | |
| autoReconnect: boolean; | |
| socket: WebSocket; | |
| connected: boolean; | |
| filePath: string; | |
| timestamp: number; | |
| _content: string; | |
| constructor({ autoReconnect }?: { | |
| autoReconnect?: boolean; | |
| }); | |
| get hash(): string; | |
| get content(): string; | |
| set content(value: string); | |
| connect(host: string, filePath: string): void; | |
| close(): void; | |
| } | |