Spaces:
Paused
Paused
Download node_modules/@huggingface/hub/dist/src/utils/formatBytes.d.ts from ken-q/opencode-home: direct link, hf CLI and curl.
- Browser
- Download file 274 Bytes
-
https://huggingface.co/spaces/ken-q/opencode-home/resolve/main/node_modules/%40huggingface/hub/dist/src/utils/formatBytes.d.ts
- Command line
-
hf download hf://spaces/ken-q/opencode-home/node_modules/@huggingface/hub/dist/src/utils/formatBytes.d.ts
-
curl -L -o formatBytes.d.ts https://huggingface.co/spaces/ken-q/opencode-home/resolve/main/node_modules/%40huggingface/hub/dist/src/utils/formatBytes.d.ts
274 Bytes
| /** | |
| * Format a byte count using SI units (multiples of 1000, e.g. `1.2 GB`). | |
| * | |
| * Negative or non-finite inputs are returned as `"<value> B"` without unit conversion. | |
| */ | |
| export declare function formatBytes(bytes: number): string; | |
| //# sourceMappingURL=formatBytes.d.ts.map |