Spaces:
Paused
Paused
Download node_modules/@huggingface/hub/dist/src/utils/createBlob.d.ts from ken-q/opencode-home: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/spaces/ken-q/opencode-home/resolve/main/node_modules/%40huggingface/hub/dist/src/utils/createBlob.d.ts
- Command line
-
hf download hf://spaces/ken-q/opencode-home/node_modules/@huggingface/hub/dist/src/utils/createBlob.d.ts
-
curl -L -o createBlob.d.ts https://huggingface.co/spaces/ken-q/opencode-home/resolve/main/node_modules/%40huggingface/hub/dist/src/utils/createBlob.d.ts
437 Bytes
| /** | |
| * This function allow to retrieve either a FileBlob or a WebBlob from a URL. | |
| * | |
| * From the backend: | |
| * - support local files | |
| * - support http resources with absolute URLs | |
| * | |
| * From the frontend: | |
| * - support http resources with absolute or relative URLs | |
| */ | |
| export declare function createBlob(url: URL, opts?: { | |
| fetch?: typeof fetch; | |
| accessToken?: string; | |
| }): Promise<Blob>; | |
| //# sourceMappingURL=createBlob.d.ts.map |